#EFDF56#EFDF56

#EFDF56 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.2% C 0.155 H 102.6°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#EFDF56
RGBrgb(239, 223, 86)
HSLhsl(54, 83%, 64%)
HSVhsv(54, 64%, 94%)
CMYKcmyk(0%, 6.7%, 64%, 6.3%)
CIE-LABlab(87.87, -10.24, 66.73)
CIE-LCHlch(87.87, 67.51, 98.73°)
OKLaboklab(89.19% -0.0339 0.1511)
OKLCHoklch(89.19% 0.155 102.6)
XYZxyz(63.6665, 71.8005, 19.3076)
Luminance0.7180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDF56 #5666EF
analogous
#EF9256 #EFDF56 #B3EF56
triadic
#EFDF56 #56EFDF #DF56EF
tetradic
#EFDF56 #56EF92 #5666EF #EF56B3
square
#EFDF56 #56EF92 #5666EF #EF56B3
split-complementary
#EFDF56 #56B3EF #9256EF
monochromatic
#B9A812 #EAD41E #EFDF56 #F4EA8E #FAF4C6

Accessibility & contrast

On white

1.37
#EFDF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#EFDF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDF56
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDF56#FFFFFF#000000##000000
##EFDF561.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D845
Deuteranopia (green-blind)
#F7E05E
Tritanopia (blue-blind)
#FFD0C2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #efdf56;
/* rgb */ color: rgb(239, 223, 86);
/* oklch */ color: oklch(89.2% 0.155 102.6);
Tailwind
colors: {
  custom: {
    50: '#f8e88c',
    500: '#efdf56',
    950: '#000000',
  },
}
SCSS
$custom: #efdf56;
$custom-light: #f8e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#efdf56",
  "rgb": {
    "r": 239,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 53.725,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.89194,
    "c": 0.15486,
    "h": 102.6
  },
  "luminance": 0.71798
}

Semantic roles & 50–950 ramp

primary
#EFDF56
secondary
#313FB8
accent
#1DDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #EFDF56

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

Preview Lab → · Contrast checker → · Palette generator →

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