#EFDC5F#EFDC5F

#EFDC5F is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.7% C 0.145 H 100.7°. Best body text is #000000 at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#EFDC5F
RGBrgb(239, 220, 95)
HSLhsl(52, 82%, 65%)
HSVhsv(52, 60%, 94%)
CMYKcmyk(0%, 7.9%, 60.3%, 6.3%)
CIE-LABlab(87.18, -8.18, 62.20)
CIE-LCHlch(87.18, 62.74, 97.49°)
OKLaboklab(88.67% -0.027 0.1428)
OKLCHoklch(88.67% 0.145 100.7)
XYZxyz(63.2578, 70.3659, 21.0742)
Luminance0.7036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC5F #5F72EF
analogous
#EF945F #EFDC5F #BAEF5F
triadic
#EFDC5F #5FEFDC #DC5FEF
tetradic
#EFDC5F #5FEF94 #5F72EF #EF5FBA
square
#EFDC5F #5FEF94 #5F72EF #EF5FBA
split-complementary
#EFDC5F #5FBAEF #945FEF
monochromatic
#C0AA13 #E9D027 #EFDC5F #F5E897 #FAF4CE

Accessibility & contrast

On white

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

On black

15.07
#EFDC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC5F
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC5F#FFFFFF#000000##000000
##EFDC5F1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efdc5f;
/* rgb */ color: rgb(239, 220, 95);
/* oklch */ color: oklch(88.7% 0.145 100.7);
Tailwind
colors: {
  custom: {
    50: '#f7e691',
    500: '#efdc5f',
    950: '#000000',
  },
}
SCSS
$custom: #efdc5f;
$custom-light: #f7e691;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc5f",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 52.083,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.88665,
    "c": 0.1453,
    "h": 100.7
  },
  "luminance": 0.70363
}

Semantic roles & 50–950 ramp

primary
#EFDC5F
secondary
#3446BE
accent
#24DE07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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