#EFD96F#EFD96F

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

Color values

HEX#EFD96F
RGBrgb(239, 217, 111)
HSLhsl(50, 80%, 69%)
HSVhsv(50, 54%, 94%)
CMYKcmyk(0%, 9.2%, 53.6%, 6.3%)
CIE-LABlab(86.57, -5.50, 54.30)
CIE-LCHlch(86.57, 54.58, 95.78°)
OKLaboklab(88.23% -0.0175 0.1276)
OKLCHoklch(88.23% 0.129 97.8)
XYZxyz(63.2809, 69.1267, 25.0453)
Luminance0.6912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD96F #6F85EF
analogous
#EF996F #EFD96F #C5EF6F
triadic
#EFD96F #6FEFD9 #D96FEF
tetradic
#EFD96F #6FEF99 #6F85EF #EF6FC5
square
#EFD96F #6FEF99 #6F85EF #EF6FC5
split-complementary
#EFD96F #6FC5EF #996FEF
monochromatic
#CDAE17 #E9CA38 #EFD96F #F5E8A6 #FBF6DD

Accessibility & contrast

On white

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

On black

14.82
#EFD96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD96F
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD96F#FFFFFF#000000##000000
##EFD96F1.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD465
Deuteranopia (green-blind)
#F1DC74
Tritanopia (blue-blind)
#FFCCC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #efd96f;
/* rgb */ color: rgb(239, 217, 111);
/* oklch */ color: oklch(88.2% 0.129 97.8);
Tailwind
colors: {
  custom: {
    50: '#f7e49b',
    500: '#efd96f',
    950: '#000000',
  },
}
SCSS
$custom: #efd96f;
$custom-light: #f7e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#efd96f",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 49.688,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.88233,
    "c": 0.12881,
    "h": 97.8
  },
  "luminance": 0.69124
}

Semantic roles & 50–950 ramp

primary
#EFD96F
secondary
#3B53C8
accent
#2DDC09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #EFD96F

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

Preview Lab → · Contrast checker → · Palette generator →

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