#EFD959#EFD959

#EFD959 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.0% C 0.148 H 99.5°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#EFD959
RGBrgb(239, 217, 89)
HSLhsl(51, 82%, 64%)
HSVhsv(51, 63%, 94%)
CMYKcmyk(0%, 9.2%, 62.8%, 6.3%)
CIE-LABlab(86.36, -7.05, 63.87)
CIE-LCHlch(86.36, 64.26, 96.30°)
OKLaboklab(88% -0.0245 0.1455)
OKLCHoklch(88% 0.148 99.5)
XYZxyz(62.2152, 68.7004, 19.4326)
Luminance0.6870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD959 #596FEF
analogous
#EF8E59 #EFD959 #BAEF59
triadic
#EFD959 #59EFD9 #D959EF
tetradic
#EFD959 #59EF8E #596FEF #EF59BA
square
#EFD959 #59EF8E #596FEF #EF59BA
split-complementary
#EFD959 #59BAEF #8E59EF
monochromatic
#BCA312 #EACC21 #EFD959 #F4E691 #FAF3C9

Accessibility & contrast

On white

1.42
#EFD959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#EFD959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD959
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD959#FFFFFF#000000##000000
##EFD9591.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD34A
Deuteranopia (green-blind)
#F2DC60
Tritanopia (blue-blind)
#FFCABE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd959;
/* rgb */ color: rgb(239, 217, 89);
/* oklch */ color: oklch(88.0% 0.148 99.5);
Tailwind
colors: {
  custom: {
    50: '#f8e48d',
    500: '#efd959',
    950: '#000000',
  },
}
SCSS
$custom: #efd959;
$custom-light: #f8e48d;
$custom-dark: #000000;
JSON
{
  "hex": "#efd959",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 89
  },
  "hsl": {
    "h": 51.2,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87998,
    "c": 0.14754,
    "h": 99.5
  },
  "luminance": 0.68698
}

Semantic roles & 50–950 ramp

primary
#EFD959
secondary
#3246BA
accent
#26DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EFD959

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

Preview Lab → · Contrast checker → · Palette generator →

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