#EFD456#EFD456

#EFD456 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 87.0% C 0.146 H 97.1°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#EFD456
RGBrgb(239, 212, 86)
HSLhsl(49, 83%, 64%)
HSVhsv(49, 64%, 94%)
CMYKcmyk(0%, 11.3%, 64%, 6.3%)
CIE-LABlab(85.05, -4.71, 63.74)
CIE-LCHlch(85.05, 63.91, 94.22°)
OKLaboklab(86.96% -0.0181 0.1448)
OKLCHoklch(86.96% 0.146 97.1)
XYZxyz(60.8225, 66.1125, 18.3596)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD456 #5671EF
analogous
#EF8756 #EFD456 #BDEF56
triadic
#EFD456 #56EFD4 #D456EF
tetradic
#EFD456 #56EF87 #5671EF #EF56BD
square
#EFD456 #56EF87 #5671EF #EF56BD
split-complementary
#EFD456 #56BDEF #8756EF
monochromatic
#B99C12 #EAC61E #EFD456 #F4E28E #FAF0C6

Accessibility & contrast

On white

1.48
#EFD456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#EFD456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD456
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD456#FFFFFF#000000##000000
##EFD4561.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF47
Deuteranopia (green-blind)
#EFD85C
Tritanopia (blue-blind)
#FFC5B9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #efd456;
/* rgb */ color: rgb(239, 212, 86);
/* oklch */ color: oklch(87.0% 0.146 97.1);
Tailwind
colors: {
  custom: {
    50: '#f8e08b',
    500: '#efd456',
    950: '#000000',
  },
}
SCSS
$custom: #efd456;
$custom-light: #f8e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#efd456",
  "rgb": {
    "r": 239,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 49.412,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86958,
    "c": 0.1459,
    "h": 97.1
  },
  "luminance": 0.6611
}

Semantic roles & 50–950 ramp

primary
#EFD456
secondary
#3149B8
accent
#2DDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EFD456

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

Preview Lab → · Contrast checker → · Palette generator →

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