#EFDD5B#EFDD5B

#EFDD5B is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.8% C 0.149 H 101.4°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#EFDD5B
RGBrgb(239, 221, 91)
HSLhsl(53, 82%, 65%)
HSVhsv(53, 62%, 94%)
CMYKcmyk(0%, 7.5%, 61.9%, 6.3%)
CIE-LABlab(87.40, -8.94, 64.15)
CIE-LCHlch(87.40, 64.77, 97.93°)
OKLaboklab(88.83% -0.0296 0.1464)
OKLCHoklch(88.83% 0.149 101.4)
XYZxyz(63.3439, 70.8215, 20.2288)
Luminance0.7082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDD5B #5B6DEF
analogous
#EF935B #EFDD5B #B7EF5B
triadic
#EFDD5B #5BEFDD #DD5BEF
tetradic
#EFDD5B #5BEF93 #5B6DEF #EF5BB7
square
#EFDD5B #5BEF93 #5B6DEF #EF5BB7
split-complementary
#EFDD5B #5BB7EF #935BEF
monochromatic
#BDA812 #EAD123 #EFDD5B #F4E993 #FAF4CB

Accessibility & contrast

On white

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

On black

15.16
#EFDD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDD5B
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDD5B#FFFFFF#000000##000000
##EFDD5B1.001.3815.1615.16
#FFFFFF1.381.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D74C
Deuteranopia (green-blind)
#F5DE62
Tritanopia (blue-blind)
#FFCFC1
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #efdd5b;
/* rgb */ color: rgb(239, 221, 91);
/* oklch */ color: oklch(88.8% 0.149 101.4);
Tailwind
colors: {
  custom: {
    50: '#f7e78f',
    500: '#efdd5b',
    950: '#000000',
  },
}
SCSS
$custom: #efdd5b;
$custom-light: #f7e78f;
$custom-dark: #000000;
JSON
{
  "hex": "#efdd5b",
  "rgb": {
    "r": 239,
    "g": 221,
    "b": 91
  },
  "hsl": {
    "h": 52.703,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8883,
    "c": 0.14934,
    "h": 101.4
  },
  "luminance": 0.70819
}

Semantic roles & 50–950 ramp

primary
#EFDD5B
secondary
#3343BC
accent
#21DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #EFDD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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