#EBD96A#EBD96A

#EBD96A is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.8% C 0.133 H 100.2°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#EBD96A
RGBrgb(235, 217, 106)
HSLhsl(52, 76%, 67%)
HSVhsv(52, 55%, 92%)
CMYKcmyk(0%, 7.7%, 54.9%, 7.8%)
CIE-LABlab(86.17, -7.52, 56.07)
CIE-LCHlch(86.17, 56.57, 97.64°)
OKLaboklab(87.82% -0.0236 0.131)
OKLCHoklch(87.82% 0.133 100.2)
XYZxyz(61.6774, 68.3309, 23.5732)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EBD96A #6A7CEB
analogous
#EB996A #EBD96A #BDEB6A
triadic
#EBD96A #6AEBD9 #D96AEB
tetradic
#EBD96A #6AEB99 #6A7CEB #EB6ABD
square
#EBD96A #6AEB99 #6A7CEB #EB6ABD
split-complementary
#EBD96A #6ABDEB #996AEB
monochromatic
#C1A91A #E4CB34 #EBD96A #F2E7A0 #F9F5D6

Accessibility & contrast

On white

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

On black

14.67
#EBD96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EBD96A
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EBD96A#FFFFFF#000000##000000
##EBD96A1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD45F
Deuteranopia (green-blind)
#F0DB6F
Tritanopia (blue-blind)
#FBCCC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ebd96a;
/* rgb */ color: rgb(235, 217, 106);
/* oklch */ color: oklch(87.8% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#f4e498',
    500: '#ebd96a',
    950: '#000000',
  },
}
SCSS
$custom: #ebd96a;
$custom-light: #f4e498;
$custom-dark: #000000;
JSON
{
  "hex": "#ebd96a",
  "rgb": {
    "r": 235,
    "g": 217,
    "b": 106
  },
  "hsl": {
    "h": 51.628,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87821,
    "c": 0.13312,
    "h": 100.2
  },
  "luminance": 0.68328
}

Semantic roles & 50–950 ramp

primary
#EBD96A
secondary
#3A4DBF
accent
#29D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EBD96A

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

Preview Lab → · Contrast checker → · Palette generator →

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