#EFCC4F#EFCC4F

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

Color values

HEX#EFCC4F
RGBrgb(239, 204, 79)
HSLhsl(47, 83%, 62%)
HSVhsv(47, 67%, 94%)
CMYKcmyk(0%, 14.6%, 66.9%, 6.3%)
CIE-LABlab(82.97, -1.02, 64.45)
CIE-LCHlch(82.97, 64.46, 90.91°)
OKLaboklab(85.29% -0.0083 0.1452)
OKLCHoklch(85.29% 0.145 93.3)
XYZxyz(58.6037, 62.1042, 16.2961)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFCC4F #4F72EF
analogous
#EF7C4F #EFCC4F #C2EF4F
triadic
#EFCC4F #4FEFCC #CC4FEF
tetradic
#EFCC4F #4FEF7C #4F72EF #EF4FC2
square
#EFCC4F #4FEF7C #4F72EF #EF4FC2
split-complementary
#EFCC4F #4FC2EF #7C4FEF
monochromatic
#B39010 #EABC17 #EFCC4F #F4DC87 #F9EDBF

Accessibility & contrast

On white

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

On black

13.42
#EFCC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFCC4F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFCC4F#FFFFFF#000000##000000
##EFCC4F1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #efcc4f;
/* rgb */ color: rgb(239, 204, 79);
/* oklch */ color: oklch(85.3% 0.145 93.3);
Tailwind
colors: {
  custom: {
    50: '#f8db86',
    500: '#efcc4f',
    950: '#000000',
  },
}
SCSS
$custom: #efcc4f;
$custom-light: #f8db86;
$custom-dark: #000000;
JSON
{
  "hex": "#efcc4f",
  "rgb": {
    "r": 239,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 46.875,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.85292,
    "c": 0.14544,
    "h": 93.3
  },
  "luminance": 0.62101
}

Semantic roles & 50–950 ramp

primary
#EFCC4F
secondary
#2F4CB3
accent
#35E006
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F

Preview Lab

Preview with #EFCC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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