#EFE97D#EFE97D

#EFE97D is a very light, vivid yellow. Relative luminance 0.781; OKLCH L 91.7% C 0.131 H 105.9°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#EFE97D
RGBrgb(239, 233, 125)
HSLhsl(57, 78%, 71%)
HSVhsv(57, 48%, 94%)
CMYKcmyk(0%, 2.5%, 47.7%, 6.3%)
CIE-LABlab(90.83, -12.33, 52.80)
CIE-LCHlch(90.83, 54.22, 103.14°)
OKLaboklab(91.67% -0.0357 0.1256)
OKLCHoklch(91.67% 0.131 105.9)
XYZxyz(68.4388, 78.1111, 30.8699)
Luminance0.7811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFE97D #7D83EF
analogous
#EFB07D #EFE97D #BCEF7D
triadic
#EFE97D #7DEFE9 #E97DEF
tetradic
#EFE97D #7DEFB0 #7D83EF #EF7DBC
square
#EFE97D #7DEFB0 #7D83EF #EF7DBC
split-complementary
#EFE97D #7DBCEF #B07DEF
monochromatic
#D7CD1A #E8E047 #EFE97D #F6F2B3 #FCFAE4

Accessibility & contrast

On white

1.26
#EFE97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.62
#EFE97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFE97D
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFE97D#FFFFFF#000000##000000
##EFE97D1.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E274
Deuteranopia (green-blind)
#FCE782
Tritanopia (blue-blind)
#FDDDD0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #efe97d;
/* rgb */ color: rgb(239, 233, 125);
/* oklch */ color: oklch(91.7% 0.131 105.9);
Tailwind
colors: {
  custom: {
    50: '#f6efa5',
    500: '#efe97d',
    950: '#000000',
  },
}
SCSS
$custom: #efe97d;
$custom-light: #f6efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#efe97d",
  "rgb": {
    "r": 239,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 56.842,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91667,
    "c": 0.13055,
    "h": 105.9
  },
  "luminance": 0.78109
}

Semantic roles & 50–950 ramp

primary
#EFE97D
secondary
#474EC9
accent
#16DA0B
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EFE97D

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

Preview Lab → · Contrast checker → · Palette generator →

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