#EFD96B#EFD96B

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

Color values

HEX#EFD96B
RGBrgb(239, 217, 107)
HSLhsl(50, 80%, 68%)
HSVhsv(50, 55%, 94%)
CMYKcmyk(0%, 9.2%, 55.2%, 6.3%)
CIE-LABlab(86.52, -5.81, 56.10)
CIE-LCHlch(86.52, 56.40, 95.92°)
OKLaboklab(88.19% -0.0189 0.1311)
OKLCHoklch(88.19% 0.132 98.2)
XYZxyz(63.0656, 69.0406, 23.9113)
Luminance0.6904 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD96B #6B81EF
analogous
#EF976B #EFD96B #C3EF6B
triadic
#EFD96B #6BEFD9 #D96BEF
tetradic
#EFD96B #6BEF97 #6B81EF #EF6BC3
square
#EFD96B #6BEF97 #6B81EF #EF6BC3
split-complementary
#EFD96B #6BC3EF #976BEF
monochromatic
#CAAC16 #E9CB34 #EFD96B #F5E7A2 #FBF5D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFD96B#FFFFFF#000000##000000
##EFD96B1.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)
#EBD460
Deuteranopia (green-blind)
#F1DC70
Tritanopia (blue-blind)
#FFCBC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #efd96b;
/* rgb */ color: rgb(239, 217, 107);
/* oklch */ color: oklch(88.2% 0.132 98.2);
Tailwind
colors: {
  custom: {
    50: '#f7e498',
    500: '#efd96b',
    950: '#000000',
  },
}
SCSS
$custom: #efd96b;
$custom-light: #f7e498;
$custom-dark: #000000;
JSON
{
  "hex": "#efd96b",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 107
  },
  "hsl": {
    "h": 50,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88186,
    "c": 0.13246,
    "h": 98.2
  },
  "luminance": 0.69038
}

Semantic roles & 50–950 ramp

primary
#EFD96B
secondary
#374FC7
accent
#2CDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F

Preview Lab

Preview with #EFD96B

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

Preview Lab → · Contrast checker → · Palette generator →

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