#EFDC5C#EFDC5C

#EFDC5C 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#EFDC5C
RGBrgb(239, 220, 92)
HSLhsl(52, 82%, 65%)
HSVhsv(52, 62%, 94%)
CMYKcmyk(0%, 7.9%, 61.5%, 6.3%)
CIE-LABlab(87.15, -8.37, 63.46)
CIE-LCHlch(87.15, 64.01, 97.52°)
OKLaboklab(88.64% -0.0279 0.145)
OKLCHoklch(88.64% 0.148 100.9)
XYZxyz(63.1241, 70.3124, 20.3698)
Luminance0.7031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC5C #5C6FEF
analogous
#EF935C #EFDC5C #B8EF5C
triadic
#EFDC5C #5CEFDC #DC5CEF
tetradic
#EFDC5C #5CEF93 #5C6FEF #EF5CB8
square
#EFDC5C #5CEF93 #5C6FEF #EF5CB8
split-complementary
#EFDC5C #5CB8EF #935CEF
monochromatic
#BEA813 #EAD024 #EFDC5C #F4E894 #FAF4CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFDC5C#FFFFFF#000000##000000
##EFDC5C1.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)
#EFD64D
Deuteranopia (green-blind)
#F4DE63
Tritanopia (blue-blind)
#FFCEC1
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #efdc5c;
/* rgb */ color: rgb(239, 220, 92);
/* oklch */ color: oklch(88.6% 0.148 100.9);
Tailwind
colors: {
  custom: {
    50: '#f7e68f',
    500: '#efdc5c',
    950: '#000000',
  },
}
SCSS
$custom: #efdc5c;
$custom-light: #f7e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc5c",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 52.245,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.88636,
    "c": 0.1477,
    "h": 100.9
  },
  "luminance": 0.7031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EFDC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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