#EFD04C#EFD04C

#EFD04C is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.150 H 95.7°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#EFD04C
RGBrgb(239, 208, 76)
HSLhsl(49, 84%, 62%)
HSVhsv(49, 68%, 94%)
CMYKcmyk(0%, 13%, 68.2%, 6.3%)
CIE-LABlab(83.96, -3.23, 66.68)
CIE-LCHlch(83.96, 66.76, 92.77°)
OKLaboklab(86.07% -0.015 0.1494)
OKLCHoklch(86.07% 0.15 95.7)
XYZxyz(59.4599, 63.9874, 16.0550)
Luminance0.6398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFD04C #4C6BEF
analogous
#EF7F4C #EFD04C #BDEF4C
triadic
#EFD04C #4CEFD0 #D04CEF
tetradic
#EFD04C #4CEF7F #4C6BEF #EF4CBD
square
#EFD04C #4CEF7F #4C6BEF #EF4CBD
split-complementary
#EFD04C #4CBDEF #7F4CEF
monochromatic
#B19210 #E9C115 #EFD04C #F4DF84 #F9EEBC

Accessibility & contrast

On white

1.52
#EFD04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#EFD04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFD04C
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFD04C#FFFFFF#000000##000000
##EFD04C1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3A
Deuteranopia (green-blind)
#EDD653
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #efd04c;
/* rgb */ color: rgb(239, 208, 76);
/* oklch */ color: oklch(86.1% 0.150 95.7);
Tailwind
colors: {
  custom: {
    50: '#f8de85',
    500: '#efd04c',
    950: '#000000',
  },
}
SCSS
$custom: #efd04c;
$custom-light: #f8de85;
$custom-dark: #000000;
JSON
{
  "hex": "#efd04c",
  "rgb": {
    "r": 239,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 48.589,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86067,
    "c": 0.15019,
    "h": 95.7
  },
  "luminance": 0.63984
}

Semantic roles & 50–950 ramp

primary
#EFD04C
secondary
#2E47B1
accent
#2FE005
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150B
muted
#86847E

Preview Lab

Preview with #EFD04C

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

Preview Lab → · Contrast checker → · Palette generator →

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