#EFD852#EFD852

#EFD852 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.7% C 0.152 H 99.5°. Best body text is #000000 at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#EFD852
RGBrgb(239, 216, 82)
HSLhsl(51, 83%, 63%)
HSVhsv(51, 66%, 94%)
CMYKcmyk(0%, 9.6%, 65.7%, 6.3%)
CIE-LABlab(86.04, -6.96, 66.43)
CIE-LCHlch(86.04, 66.80, 95.98°)
OKLaboklab(87.73% -0.025 0.1499)
OKLCHoklch(87.73% 0.152 99.5)
XYZxyz(61.6782, 68.0745, 17.8719)
Luminance0.6807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD852 #5269EF
analogous
#EF8952 #EFD852 #B8EF52
triadic
#EFD852 #52EFD8 #D852EF
tetradic
#EFD852 #52EF89 #5269EF #EF52B8
square
#EFD852 #52EF89 #5269EF #EF52B8
split-complementary
#EFD852 #52B8EF #8952EF
monochromatic
#B69E11 #EACB1A #EFD852 #F4E58A #F9F1C2

Accessibility & contrast

On white

1.44
#EFD852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.61
#EFD852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD852
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD852#FFFFFF#000000##000000
##EFD8521.001.4414.6114.61
#FFFFFF1.441.0021.0021.00
#00000014.6121.001.001.00
##00000014.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD241
Deuteranopia (green-blind)
#F2DB59
Tritanopia (blue-blind)
#FFC9BC
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #efd852;
/* rgb */ color: rgb(239, 216, 82);
/* oklch */ color: oklch(87.7% 0.152 99.5);
Tailwind
colors: {
  custom: {
    50: '#f8e389',
    500: '#efd852',
    950: '#000000',
  },
}
SCSS
$custom: #efd852;
$custom-light: #f8e389;
$custom-dark: #000000;
JSON
{
  "hex": "#efd852",
  "rgb": {
    "r": 239,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 51.21,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87733,
    "c": 0.15195,
    "h": 99.5
  },
  "luminance": 0.68072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EFD852

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

Preview Lab → · Contrast checker → · Palette generator →

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