#EFC74F#EFC74F

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

Color values

HEX#EFC74F
RGBrgb(239, 199, 79)
HSLhsl(45, 83%, 62%)
HSVhsv(45, 67%, 94%)
CMYKcmyk(0%, 16.7%, 66.9%, 6.3%)
CIE-LABlab(81.71, 1.55, 63.13)
CIE-LCHlch(81.71, 63.15, 88.59°)
OKLaboklab(84.3% -0.0009 0.1424)
OKLCHoklch(84.3% 0.142 90.4)
XYZxyz(57.4343, 59.7655, 15.9064)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFC74F #4F77EF
analogous
#EF774F #EFC74F #C7EF4F
triadic
#EFC74F #4FEFC7 #C74FEF
tetradic
#EFC74F #4FEF77 #4F77EF #EF4FC7
square
#EFC74F #4FEF77 #4F77EF #EF4FC7
split-complementary
#EFC74F #4FC7EF #774FEF
monochromatic
#B38B10 #EAB517 #EFC74F #F4D987 #F9EBBF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EFC74F#FFFFFF#000000##000000
##EFC74F1.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)
#DCC540
Deuteranopia (green-blind)
#E6D055
Tritanopia (blue-blind)
#FFB7AE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #efc74f;
/* rgb */ color: rgb(239, 199, 79);
/* oklch */ color: oklch(84.3% 0.142 90.4);
Tailwind
colors: {
  custom: {
    50: '#f8d786',
    500: '#efc74f',
    950: '#000000',
  },
}
SCSS
$custom: #efc74f;
$custom-light: #f8d786;
$custom-dark: #000000;
JSON
{
  "hex": "#efc74f",
  "rgb": {
    "r": 239,
    "g": 199,
    "b": 79
  },
  "hsl": {
    "h": 45,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84298,
    "c": 0.14242,
    "h": 90.4
  },
  "luminance": 0.59762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EFC74F

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

Preview Lab → · Contrast checker → · Palette generator →

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