#EFD952#EFD952

#EFD952 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.9% C 0.153 H 100.0°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#EFD952
RGBrgb(239, 217, 82)
HSLhsl(52, 83%, 63%)
HSVhsv(52, 66%, 94%)
CMYKcmyk(0%, 9.2%, 65.7%, 6.3%)
CIE-LABlab(86.30, -7.47, 66.70)
CIE-LCHlch(86.30, 67.12, 96.39°)
OKLaboklab(87.94% -0.0264 0.1504)
OKLCHoklch(87.94% 0.153 100)
XYZxyz(61.9351, 68.5884, 17.9575)
Luminance0.6859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD952 #5268EF
analogous
#EF8A52 #EFD952 #B7EF52
triadic
#EFD952 #52EFD9 #D952EF
tetradic
#EFD952 #52EF8A #5268EF #EF52B7
square
#EFD952 #52EF8A #5268EF #EF52B7
split-complementary
#EFD952 #52B7EF #8A52EF
monochromatic
#B69F11 #EACD1A #EFD952 #F4E58A #F9F2C2

Accessibility & contrast

On white

1.43
#EFD952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#EFD952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD952
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD952#FFFFFF#000000##000000
##EFD9521.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD340
Deuteranopia (green-blind)
#F3DC5A
Tritanopia (blue-blind)
#FFCABD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #efd952;
/* rgb */ color: rgb(239, 217, 82);
/* oklch */ color: oklch(87.9% 0.153 100.0);
Tailwind
colors: {
  custom: {
    50: '#f8e489',
    500: '#efd952',
    950: '#000000',
  },
}
SCSS
$custom: #efd952;
$custom-light: #f8e489;
$custom-dark: #000000;
JSON
{
  "hex": "#efd952",
  "rgb": {
    "r": 239,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 51.592,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87936,
    "c": 0.15274,
    "h": 100
  },
  "luminance": 0.68586
}

Semantic roles & 50–950 ramp

primary
#EFD952
secondary
#3043B5
accent
#24DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EFD952

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

Preview Lab → · Contrast checker → · Palette generator →

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