#EFCC52#EFCC52

#EFCC52 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.3% C 0.143 H 93.0°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#EFCC52
RGBrgb(239, 204, 82)
HSLhsl(47, 83%, 63%)
HSVhsv(47, 66%, 94%)
CMYKcmyk(0%, 14.6%, 65.7%, 6.3%)
CIE-LABlab(82.99, -0.86, 63.23)
CIE-LCHlch(82.99, 63.23, 90.78°)
OKLaboklab(85.32% -0.0075 0.1431)
OKLCHoklch(85.32% 0.143 93)
XYZxyz(58.7154, 62.1488, 16.8843)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFCC52 #5275EF
analogous
#EF7D52 #EFCC52 #C4EF52
triadic
#EFCC52 #52EFCC #CC52EF
tetradic
#EFCC52 #52EF7D #5275EF #EF52C4
square
#EFCC52 #52EF7D #5275EF #EF52C4
split-complementary
#EFCC52 #52C4EF #7D52EF
monochromatic
#B69111 #EABB1A #EFCC52 #F4DD8A #F9EDC2

Accessibility & contrast

On white

1.56
#EFCC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#EFCC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFCC52
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFCC52#FFFFFF#000000##000000
##EFCC521.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C943
Deuteranopia (green-blind)
#E9D358
Tritanopia (blue-blind)
#FFBDB2
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #efcc52;
/* rgb */ color: rgb(239, 204, 82);
/* oklch */ color: oklch(85.3% 0.143 93.0);
Tailwind
colors: {
  custom: {
    50: '#f8db88',
    500: '#efcc52',
    950: '#000000',
  },
}
SCSS
$custom: #efcc52;
$custom-light: #f8db88;
$custom-dark: #000000;
JSON
{
  "hex": "#efcc52",
  "rgb": {
    "r": 239,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 46.624,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85318,
    "c": 0.14329,
    "h": 93
  },
  "luminance": 0.62146
}

Semantic roles & 50–950 ramp

primary
#EFCC52
secondary
#304EB5
accent
#36DF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EFCC52

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

Preview Lab → · Contrast checker → · Palette generator →

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