#EFD97C#EFD97C

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

Color values

HEX#EFD97C
RGBrgb(239, 217, 124)
HSLhsl(49, 78%, 71%)
HSVhsv(49, 48%, 94%)
CMYKcmyk(0%, 9.2%, 48.1%, 6.3%)
CIE-LABlab(86.72, -4.39, 48.28)
CIE-LCHlch(86.72, 48.48, 95.20°)
OKLaboklab(88.4% -0.0129 0.1155)
OKLCHoklch(88.4% 0.116 96.4)
XYZxyz(64.0495, 69.4341, 29.0932)
Luminance0.6943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD97C #7C92EF
analogous
#EF9F7C #EFD97C #CBEF7C
triadic
#EFD97C #7CEFD9 #D97CEF
tetradic
#EFD97C #7CEF9F #7C92EF #EF7CCB
square
#EFD97C #7CEF9F #7C92EF #EF7CCB
split-complementary
#EFD97C #7CCBEF #9F7CEF
monochromatic
#D6B21A #E8C945 #EFD97C #F6E9B3 #FCF7E4

Accessibility & contrast

On white

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

On black

14.89
#EFD97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD97C
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD97C#FFFFFF#000000##000000
##EFD97C1.001.4114.8914.89
#FFFFFF1.411.0021.0021.00
#00000014.8921.001.001.00
##00000014.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD574
Deuteranopia (green-blind)
#F0DC80
Tritanopia (blue-blind)
#FECDC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #efd97c;
/* rgb */ color: rgb(239, 217, 124);
/* oklch */ color: oklch(88.4% 0.116 96.4);
Tailwind
colors: {
  custom: {
    50: '#f6e4a4',
    500: '#efd97c',
    950: '#000000',
  },
}
SCSS
$custom: #efd97c;
$custom-light: #f6e4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#efd97c",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 124
  },
  "hsl": {
    "h": 48.522,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.88402,
    "c": 0.11624,
    "h": 96.4
  },
  "luminance": 0.69432
}

Semantic roles & 50–950 ramp

primary
#EFD97C
secondary
#465FC9
accent
#33DA0B
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EFD97C

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

Preview Lab → · Contrast checker → · Palette generator →

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