#EFDF5A#EFDF5A

#EFDF5A is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.2% C 0.152 H 102.5°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#EFDF5A
RGBrgb(239, 223, 90)
HSLhsl(54, 82%, 65%)
HSVhsv(54, 62%, 94%)
CMYKcmyk(0%, 6.7%, 62.3%, 6.3%)
CIE-LABlab(87.90, -10.00, 65.12)
CIE-LCHlch(87.90, 65.88, 98.73°)
OKLaboklab(89.23% -0.0328 0.1483)
OKLCHoklch(89.23% 0.152 102.5)
XYZxyz(63.8322, 71.8668, 20.1802)
Luminance0.7186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF5A #5A6AEF
analogous
#EF955A #EFDF5A #B5EF5A
triadic
#EFDF5A #5AEFDF #DF5AEF
tetradic
#EFDF5A #5AEF95 #5A6AEF #EF5AB5
square
#EFDF5A #5AEF95 #5A6AEF #EF5AB5
split-complementary
#EFDF5A #5AB5EF #955AEF
monochromatic
#BCAA12 #EAD422 #EFDF5A #F4EA92 #FAF5CA

Accessibility & contrast

On white

1.37
#EFDF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.37
#EFDF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF5A
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF5A#FFFFFF#000000##000000
##EFDF5A1.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D84A
Deuteranopia (green-blind)
#F7E061
Tritanopia (blue-blind)
#FFD1C3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdf5a;
/* rgb */ color: rgb(239, 223, 90);
/* oklch */ color: oklch(89.2% 0.152 102.5);
Tailwind
colors: {
  custom: {
    50: '#f7e88e',
    500: '#efdf5a',
    950: '#000000',
  },
}
SCSS
$custom: #efdf5a;
$custom-light: #f7e88e;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf5a",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 53.557,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.8923,
    "c": 0.15186,
    "h": 102.5
  },
  "luminance": 0.71864
}

Semantic roles & 50–950 ramp

primary
#EFDF5A
secondary
#3241BB
accent
#1EDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EFDF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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