#EFC74E#EFC74E

#EFC74E is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.3% C 0.143 H 90.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#EFC74E
RGBrgb(239, 199, 78)
HSLhsl(45, 83%, 62%)
HSVhsv(45, 67%, 94%)
CMYKcmyk(0%, 16.7%, 67.4%, 6.3%)
CIE-LABlab(81.70, 1.49, 63.54)
CIE-LCHlch(81.70, 63.56, 88.65°)
OKLaboklab(84.29% -0.0012 0.1431)
OKLCHoklch(84.29% 0.143 90.5)
XYZxyz(57.3982, 59.7510, 15.7161)
Luminance0.5975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFC74E #4E76EF
analogous
#EF764E #EFC74E #C7EF4E
triadic
#EFC74E #4EEFC7 #C74EEF
tetradic
#EFC74E #4EEF76 #4E76EF #EF4EC7
square
#EFC74E #4EEF76 #4E76EF #EF4EC7
split-complementary
#EFC74E #4EC7EF #764EEF
monochromatic
#B28A10 #EAB516 #EFC74E #F4D986 #F9EBBE

Accessibility & contrast

On white

1.62
#EFC74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#EFC74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFC74E
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFC74E#FFFFFF#000000##000000
##EFC74E1.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC53F
Deuteranopia (green-blind)
#E6D054
Tritanopia (blue-blind)
#FFB7AE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #efc74e;
/* rgb */ color: rgb(239, 199, 78);
/* oklch */ color: oklch(84.3% 0.143 90.5);
Tailwind
colors: {
  custom: {
    50: '#f8d785',
    500: '#efc74e',
    950: '#000000',
  },
}
SCSS
$custom: #efc74e;
$custom-light: #f8d785;
$custom-dark: #000000;
JSON
{
  "hex": "#efc74e",
  "rgb": {
    "r": 239,
    "g": 199,
    "b": 78
  },
  "hsl": {
    "h": 45.093,
    "s": 83.42,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8429,
    "c": 0.14313,
    "h": 90.5
  },
  "luminance": 0.59748
}

Semantic roles & 50–950 ramp

primary
#EFC74E
secondary
#2F50B2
accent
#3CE006
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EFC74E

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

Preview Lab → · Contrast checker → · Palette generator →

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