#EFD252#EFD252

#EFD252 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.5% C 0.147 H 96.3°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#EFD252
RGBrgb(239, 210, 82)
HSLhsl(49, 83%, 63%)
HSVhsv(49, 66%, 94%)
CMYKcmyk(0%, 12.1%, 65.7%, 6.3%)
CIE-LABlab(84.51, -3.92, 64.83)
CIE-LCHlch(84.51, 64.95, 93.46°)
OKLaboklab(86.52% -0.0163 0.1465)
OKLCHoklch(86.52% 0.147 96.3)
XYZxyz(60.1690, 65.0561, 17.3688)
Luminance0.6505 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD252 #526FEF
analogous
#EF8352 #EFD252 #BEEF52
triadic
#EFD252 #52EFD2 #D252EF
tetradic
#EFD252 #52EF83 #526FEF #EF52BE
square
#EFD252 #52EF83 #526FEF #EF52BE
split-complementary
#EFD252 #52BEEF #8352EF
monochromatic
#B69711 #EAC31A #EFD252 #F4E18A #F9EFC2

Accessibility & contrast

On white

1.50
#EFD252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#EFD252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD252
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD252#FFFFFF#000000##000000
##EFD2521.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE42
Deuteranopia (green-blind)
#EED759
Tritanopia (blue-blind)
#FFC3B7
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #efd252;
/* rgb */ color: rgb(239, 210, 82);
/* oklch */ color: oklch(86.5% 0.147 96.3);
Tailwind
colors: {
  custom: {
    50: '#f8df88',
    500: '#efd252',
    950: '#000000',
  },
}
SCSS
$custom: #efd252;
$custom-light: #f8df88;
$custom-dark: #000000;
JSON
{
  "hex": "#efd252",
  "rgb": {
    "r": 239,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 48.917,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.8652,
    "c": 0.14739,
    "h": 96.3
  },
  "luminance": 0.65053
}

Semantic roles & 50–950 ramp

primary
#EFD252
secondary
#3049B5
accent
#2EDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EFD252

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

Preview Lab → · Contrast checker → · Palette generator →

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