#EFDC52#EFDC52

#EFDC52 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.5% C 0.155 H 101.4°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#EFDC52
RGBrgb(239, 220, 82)
HSLhsl(53, 83%, 63%)
HSVhsv(53, 66%, 94%)
CMYKcmyk(0%, 7.9%, 65.7%, 6.3%)
CIE-LABlab(87.07, -8.97, 67.50)
CIE-LCHlch(87.07, 68.09, 97.57°)
OKLaboklab(88.55% -0.0307 0.1521)
OKLCHoklch(88.55% 0.155 101.4)
XYZxyz(62.7154, 70.1490, 18.2176)
Luminance0.7015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFDC52 #5265EF
analogous
#EF8D52 #EFDC52 #B3EF52
triadic
#EFDC52 #52EFDC #DC52EF
tetradic
#EFDC52 #52EF8D #5265EF #EF52B3
square
#EFDC52 #52EF8D #5265EF #EF52B3
split-complementary
#EFDC52 #52B3EF #8D52EF
monochromatic
#B6A211 #EAD11A #EFDC52 #F4E78A #F9F3C2

Accessibility & contrast

On white

1.40
#EFDC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#EFDC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFDC52
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFDC52#FFFFFF#000000##000000
##EFDC521.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D640
Deuteranopia (green-blind)
#F5DE5A
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #efdc52;
/* rgb */ color: rgb(239, 220, 82);
/* oklch */ color: oklch(88.5% 0.155 101.4);
Tailwind
colors: {
  custom: {
    50: '#f8e689',
    500: '#efdc52',
    950: '#000000',
  },
}
SCSS
$custom: #efdc52;
$custom-light: #f8e689;
$custom-dark: #000000;
JSON
{
  "hex": "#efdc52",
  "rgb": {
    "r": 239,
    "g": 220,
    "b": 82
  },
  "hsl": {
    "h": 52.739,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.88547,
    "c": 0.1552,
    "h": 101.4
  },
  "luminance": 0.70146
}

Semantic roles & 50–950 ramp

primary
#EFDC52
secondary
#3040B5
accent
#20DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EFDC52

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

Preview Lab → · Contrast checker → · Palette generator →

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