#EFDC5B#EFDC5B

#EFDC5B is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.6% C 0.148 H 100.9°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#EFDC5B
RGBrgb(239, 220, 91)
HSLhsl(52, 82%, 65%)
HSVhsv(52, 62%, 94%)
CMYKcmyk(0%, 7.9%, 61.9%, 6.3%)
CIE-LABlab(87.14, -8.44, 63.87)
CIE-LCHlch(87.14, 64.43, 97.53°)
OKLaboklab(88.63% -0.0282 0.1458)
OKLCHoklch(88.63% 0.148 100.9)
XYZxyz(63.0806, 70.2951, 20.1411)
Luminance0.7029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC5B #5B6EEF
analogous
#EF925B #EFDC5B #B8EF5B
triadic
#EFDC5B #5BEFDC #DC5BEF
tetradic
#EFDC5B #5BEF92 #5B6EEF #EF5BB8
square
#EFDC5B #5BEF92 #5B6EEF #EF5BB8
split-complementary
#EFDC5B #5BB8EF #925BEF
monochromatic
#BDA712 #EAD023 #EFDC5B #F4E893 #FAF4CB

Accessibility & contrast

On white

1.39
#EFDC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.06
#EFDC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC5B
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC5B#FFFFFF#000000##000000
##EFDC5B1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD64C
Deuteranopia (green-blind)
#F5DE62
Tritanopia (blue-blind)
#FFCEC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #efdc5b;
/* rgb */ color: rgb(239, 220, 91);
/* oklch */ color: oklch(88.6% 0.148 100.9);
Tailwind
colors: {
  custom: {
    50: '#f7e68f',
    500: '#efdc5b',
    950: '#000000',
  },
}
SCSS
$custom: #efdc5b;
$custom-light: #f7e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc5b",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 52.297,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88627,
    "c": 0.14848,
    "h": 100.9
  },
  "luminance": 0.70292
}

Semantic roles & 50–950 ramp

primary
#EFDC5B
secondary
#3344BC
accent
#23DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFDC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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