#EFD96C#EFD96C

#EFD96C is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.2% C 0.132 H 98.1°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#EFD96C
RGBrgb(239, 217, 108)
HSLhsl(50, 80%, 68%)
HSVhsv(50, 55%, 94%)
CMYKcmyk(0%, 9.2%, 54.8%, 6.3%)
CIE-LABlab(86.53, -5.74, 55.65)
CIE-LCHlch(86.53, 55.95, 95.88°)
OKLaboklab(88.2% -0.0185 0.1303)
OKLCHoklch(88.2% 0.132 98.1)
XYZxyz(63.1185, 69.0617, 24.1900)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD96C #6C82EF
analogous
#EF986C #EFD96C #C3EF6C
triadic
#EFD96C #6CEFD9 #D96CEF
tetradic
#EFD96C #6CEF98 #6C82EF #EF6CC3
square
#EFD96C #6CEF98 #6C82EF #EF6CC3
split-complementary
#EFD96C #6CC3EF #986CEF
monochromatic
#CBAC16 #E9CB35 #EFD96C #F5E7A3 #FBF6DA

Accessibility & contrast

On white

1.42
#EFD96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#EFD96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD96C
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD96C#FFFFFF#000000##000000
##EFD96C1.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD462
Deuteranopia (green-blind)
#F1DC71
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #efd96c;
/* rgb */ color: rgb(239, 217, 108);
/* oklch */ color: oklch(88.2% 0.132 98.1);
Tailwind
colors: {
  custom: {
    50: '#f7e499',
    500: '#efd96c',
    950: '#000000',
  },
}
SCSS
$custom: #efd96c;
$custom-light: #f7e499;
$custom-dark: #000000;
JSON
{
  "hex": "#efd96c",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 108
  },
  "hsl": {
    "h": 49.924,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.88197,
    "c": 0.13156,
    "h": 98.1
  },
  "luminance": 0.69059
}

Semantic roles & 50–950 ramp

primary
#EFD96C
secondary
#3850C7
accent
#2CDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #EFD96C

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

Preview Lab → · Contrast checker → · Palette generator →

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