#EFDD5F#EFDD5F

#EFDD5F is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.146 H 101.2°. Best body text is #000000 at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#EFDD5F
RGBrgb(239, 221, 95)
HSLhsl(53, 82%, 65%)
HSVhsv(53, 60%, 94%)
CMYKcmyk(0%, 7.5%, 60.3%, 6.3%)
CIE-LABlab(87.43, -8.68, 62.48)
CIE-LCHlch(87.43, 63.08, 97.91°)
OKLaboklab(88.87% -0.0284 0.1434)
OKLCHoklch(88.87% 0.146 101.2)
XYZxyz(63.5210, 70.8924, 21.1619)
Luminance0.7089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDD5F #5F71EF
analogous
#EF955F #EFDD5F #B9EF5F
triadic
#EFDD5F #5FEFDD #DD5FEF
tetradic
#EFDD5F #5FEF95 #5F71EF #EF5FB9
square
#EFDD5F #5FEF95 #5F71EF #EF5FB9
split-complementary
#EFDD5F #5FB9EF #955FEF
monochromatic
#C0AB13 #E9D127 #EFDD5F #F5E997 #FAF5CE

Accessibility & contrast

On white

1.38
#EFDD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.18
#EFDD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDD5F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDD5F#FFFFFF#000000##000000
##EFDD5F1.001.3815.1815.18
#FFFFFF1.381.0021.0021.00
#00000015.1821.001.001.00
##00000015.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D751
Deuteranopia (green-blind)
#F5DE66
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #efdd5f;
/* rgb */ color: rgb(239, 221, 95);
/* oklch */ color: oklch(88.9% 0.146 101.2);
Tailwind
colors: {
  custom: {
    50: '#f7e791',
    500: '#efdd5f',
    950: '#000000',
  },
}
SCSS
$custom: #efdd5f;
$custom-light: #f7e791;
$custom-dark: #000000;
JSON
{
  "hex": "#efdd5f",
  "rgb": {
    "r": 239,
    "g": 221,
    "b": 95
  },
  "hsl": {
    "h": 52.5,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88869,
    "c": 0.14616,
    "h": 101.2
  },
  "luminance": 0.7089
}

Semantic roles & 50–950 ramp

primary
#EFDD5F
secondary
#3445BE
accent
#22DE07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EFDD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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