#EFDC51#EFDC51

#EFDC51 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.5% C 0.156 H 101.5°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#EFDC51
RGBrgb(239, 220, 81)
HSLhsl(53, 83%, 63%)
HSVhsv(53, 66%, 94%)
CMYKcmyk(0%, 7.9%, 66.1%, 6.3%)
CIE-LABlab(87.06, -9.03, 67.89)
CIE-LCHlch(87.06, 68.49, 97.58°)
OKLaboklab(88.54% -0.031 0.1528)
OKLCHoklch(88.54% 0.156 101.5)
XYZxyz(62.6776, 70.1339, 18.0187)
Luminance0.7013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC51 #5164EF
analogous
#EF8D51 #EFDC51 #B3EF51
triadic
#EFDC51 #51EFDC #DC51EF
tetradic
#EFDC51 #51EF8D #5164EF #EF51B3
square
#EFDC51 #51EF8D #5164EF #EF51B3
split-complementary
#EFDC51 #51B3EF #8D51EF
monochromatic
#B5A111 #EAD119 #EFDC51 #F4E789 #F9F3C1

Accessibility & contrast

On white

1.40
#EFDC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#EFDC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC51
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC51#FFFFFF#000000##000000
##EFDC511.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63E
Deuteranopia (green-blind)
#F5DE59
Tritanopia (blue-blind)
#FFCDBF
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #efdc51;
/* rgb */ color: rgb(239, 220, 81);
/* oklch */ color: oklch(88.5% 0.156 101.5);
Tailwind
colors: {
  custom: {
    50: '#f8e689',
    500: '#efdc51',
    950: '#000000',
  },
}
SCSS
$custom: #efdc51;
$custom-light: #f8e689;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc51",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 52.785,
    "s": 83.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.88539,
    "c": 0.15591,
    "h": 101.5
  },
  "luminance": 0.70131
}

Semantic roles & 50–950 ramp

primary
#EFDC51
secondary
#3040B5
accent
#20E006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EFDC51

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

Preview Lab → · Contrast checker → · Palette generator →

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