#EFD97A#EFD97A

#EFD97A is a very light, moderate yellow. Relative luminance 0.694; OKLCH L 88.4% C 0.118 H 96.6°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#EFD97A
RGBrgb(239, 217, 122)
HSLhsl(49, 79%, 71%)
HSVhsv(49, 49%, 94%)
CMYKcmyk(0%, 9.2%, 49%, 6.3%)
CIE-LABlab(86.69, -4.57, 49.22)
CIE-LCHlch(86.69, 49.43, 95.31°)
OKLaboklab(88.38% -0.0137 0.1175)
OKLCHoklch(88.38% 0.118 96.6)
XYZxyz(63.9243, 69.3841, 28.4338)
Luminance0.6938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD97A #7A90EF
analogous
#EF9E7A #EFD97A #CAEF7A
triadic
#EFD97A #7AEFD9 #D97AEF
tetradic
#EFD97A #7AEF9E #7A90EF #EF7ACA
square
#EFD97A #7AEF9E #7A90EF #EF7ACA
split-complementary
#EFD97A #7ACAEF #9E7AEF
monochromatic
#D5B21A #E8C943 #EFD97A #F6E9B1 #FCF7E4

Accessibility & contrast

On white

1.41
#EFD97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#EFD97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD97A
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD97A#FFFFFF#000000##000000
##EFD97A1.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD572
Deuteranopia (green-blind)
#F0DC7E
Tritanopia (blue-blind)
#FFCCC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #efd97a;
/* rgb */ color: rgb(239, 217, 122);
/* oklch */ color: oklch(88.4% 0.118 96.6);
Tailwind
colors: {
  custom: {
    50: '#f6e4a2',
    500: '#efd97a',
    950: '#000000',
  },
}
SCSS
$custom: #efd97a;
$custom-light: #f6e4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#efd97a",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 122
  },
  "hsl": {
    "h": 48.718,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88375,
    "c": 0.11824,
    "h": 96.6
  },
  "luminance": 0.69382
}

Semantic roles & 50–950 ramp

primary
#EFD97A
secondary
#445DC9
accent
#32DB0B
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD97A

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

Preview Lab → · Contrast checker → · Palette generator →

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