#EBD96F#EBD96F

#EBD96F is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.9% C 0.129 H 99.8°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#EBD96F
RGBrgb(235, 217, 111)
HSLhsl(51, 76%, 68%)
HSVhsv(51, 53%, 92%)
CMYKcmyk(0%, 7.7%, 52.8%, 7.8%)
CIE-LABlab(86.22, -7.12, 53.81)
CIE-LCHlch(86.22, 54.28, 97.54°)
OKLaboklab(87.88% -0.0219 0.1266)
OKLCHoklch(87.88% 0.129 99.8)
XYZxyz(61.9451, 68.4379, 24.9827)
Luminance0.6844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD96F #6F81EB
analogous
#EB9B6F #EBD96F #BFEB6F
triadic
#EBD96F #6FEBD9 #D96FEB
tetradic
#EBD96F #6FEB9B #6F81EB #EB6FBF
square
#EBD96F #6FEB9B #6F81EB #EB6FBF
split-complementary
#EBD96F #6FBFEB #9B6FEB
monochromatic
#C4AC1B #E4CB39 #EBD96F #F2E7A5 #FAF5DA

Accessibility & contrast

On white

1.43
#EBD96F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#EBD96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD96F
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD96F#FFFFFF#000000##000000
##EBD96F1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD465
Deuteranopia (green-blind)
#EFDB74
Tritanopia (blue-blind)
#FBCCC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd96f;
/* rgb */ color: rgb(235, 217, 111);
/* oklch */ color: oklch(87.9% 0.129 99.8);
Tailwind
colors: {
  custom: {
    50: '#f4e49b',
    500: '#ebd96f',
    950: '#000000',
  },
}
SCSS
$custom: #ebd96f;
$custom-light: #f4e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd96f",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 51.29,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.87881,
    "c": 0.12851,
    "h": 99.8
  },
  "luminance": 0.68436
}

Semantic roles & 50–950 ramp

primary
#EBD96F
secondary
#3C4FC2
accent
#2BD80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD96F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#EBD96F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva