Skip to content

#ebec83

a light, vivid yellow · warm · closest name: Khaki

RGB
235, 236, 131
HSL
61°, 73%, 72%
CMYK
0, 0, 45, 8
Luminance
0.7929

At a glance

Every number on this page in one read: what #ebec83 is made of, how bright it looks, and which way it leans.

Hex
#ebec83
Hue
61°
yellow
Saturation
73%
vivid
Lightness
72%
light
Brightness
93%
HSV value
Perceived
89%
weighted brightness
Luminance
0.7929
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
16.86:1
Closest name
Khaki
ΔE2000 3.5
Where it sits
Hue61° of 360°
Saturation73%
Lightness72%
Temperature
Warm ← → Cool26% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ebec83
RGBrgb(235, 236, 131)
HSLhsl(61, 73%, 72%)
CMYKcmyk(0%, 0%, 45%, 8%)
LABlab(91.4 -14.8 50.5)
LCHlch(91.4 52.7 106.3)
OKLCHoklch(0.920 0.128 109.2)
Decimal15461507
Display P3color(display-p3 0.922 0.925 0.514)

Copy-ready code

/* CSS */
color: #ebec83;
background-color: #ebec83;
/* Tailwind (arbitrary) */
class="text-[#ebec83] bg-[#ebec83]"
/* SCSS */
$brand: #ebec83;
/* SwiftUI */
Color(red: 0.922, green: 0.925, blue: 0.514)
/* Android */
Color.parseColor("#ebec83")
/* Flutter */
Color(0xFFEBEC83)
/* Python / OpenCV (BGR) */
(131, 236, 235)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ebec83 · 16.86:1
Use #000000AAA at every size.
Aa
White text · 1.25:1
AA fail · AA large fail · AAA fail
Aa
Black text · 16.86:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ebec83 as text scores 1.25:1 on white and 16.86:1 on black.

Accessibility — WCAG contrast

Aa
#ebec83 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ebec83 on black: 16.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FBE47A
deuteranopia · #FCE888
tritanopia · #F8E0D3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ebec83 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCFCF3
#F8F8E7
#F3F3C8
#EFF09E
#ebec83
#E0E13C
#D2D421
#AFB11B
#8C8D16
#666714
#40400C
Base = 400Lightest = 50 · #FCFCF3Darkest = 950 · #40400C
:root {
  --brand-50: #FCFCF3;
  --brand-100: #F8F8E7;
  --brand-200: #F3F3C8;
  --brand-300: #EFF09E;
  --brand-400: #ebec83;
  --brand-500: #E0E13C;
  --brand-600: #D2D421;
  --brand-700: #AFB11B;
  --brand-800: #8C8D16;
  --brand-900: #666714;
  --brand-950: #40400C;
  --brand: #ebec83;
  --brand-ink: #000000;
}

Colors that work with #ebec83

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAFAF4
Tinted page background
Border#ECEDC0
Hairlines and dividers
Muted text#9A9B4B
Captions on the surface
Accent#173DB5
Second voice, not a rival
Dark variant#6E6F11
Hover, pressed, headers
Light variant#FBFCE9
Selected rows, tints
Dark surface#242414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ebec83

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#8483EC
Analogous left#ECB983
Analogous right#B7EC83
Split-complement 1#83B7EC
Split-complement 2#B983EC
Triadic 1#83EBEC
Triadic 2#EC83EB
Tetradic#83ECB9

RGB percentages

Red92.2%
Green92.5%
Blue51.4%

CMYK percentages

Cyan0.4%
Magenta0.0%
Yellow44.5%
Key (black)7.5%

Color previews

#ebec83 text on a black background

contrast 16.86:1

Card sample

#ebec83 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ebec83;
Background color
Panel with #ebec83 background
background-color: #ebec83;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ebec83;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(235, 236, 131, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(235, 236, 131, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ebec83;
background: linear-gradient(135deg, #ebec83, #A5EC83);

Monochromatic scale

Palettes built from #ebec83

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ebec83 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ebec83, answered

What color is #ebec83?

#ebec83 is a light vivid yellow, closest to Khaki (ΔE2000 3.5). It sits at 61° on the hue wheel with 73% saturation and 72% lightness, which reads as warm.

What is the RGB value of #ebec83?

rgb(235, 236, 131) — 235 red, 236 green and 131 blue out of 255, or 92.2% / 92.5% / 51.4% by channel.

Is #ebec83 a light or a dark color?

It is a light color. Relative luminance is 0.7929 and perceived brightness is 89%, so black text on it reaches 16.86:1.

Should I use black or white text on #ebec83?

Black. It scores 16.86:1 against #ebec83, versus 1.25:1 for white — AAA at any size.

What is the complementary color of #ebec83?

#8483EC sits directly opposite on the wheel. Softer options are the split-complements #83B7EC and #B983EC, which give the same contrast with far less vibration.

What colors go well with #ebec83?

For interface work: #FAFAF4 as the surface, #ECEDC0 for borders, #9A9B4B for secondary text, #173DB5 as an accent and #6E6F11 for hover and pressed states. For a palette, the analogous pair #ECB983 and #B7EC83 stays calm, while #8483EC is the loudest partner.

What is #ebec83 in CMYK for printing?

cmyk(0%, 0%, 45%, 8%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ebec83 warm or cool?

Warm — it scores 26 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ECC783; nudged cooler, #C5ED82.

Work with #ebec83 in the Color Lab