#EFCC5B#EFCC5B

#EFCC5B is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.4% C 0.136 H 92.0°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#EFCC5B
RGBrgb(239, 204, 91)
HSLhsl(46, 82%, 65%)
HSVhsv(46, 62%, 94%)
CMYKcmyk(0%, 14.6%, 61.9%, 6.3%)
CIE-LABlab(83.07, -0.31, 59.43)
CIE-LCHlch(83.07, 59.43, 90.30°)
OKLaboklab(85.4% -0.0048 0.1363)
OKLCHoklch(85.4% 0.136 92)
XYZxyz(59.0806, 62.2949, 18.8077)
Luminance0.6229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EFCC5B #5B7EEF
analogous
#EF825B #EFCC5B #C8EF5B
triadic
#EFCC5B #5BEFCC #CC5BEF
tetradic
#EFCC5B #5BEF82 #5B7EEF #EF5BC8
square
#EFCC5B #5BEF82 #5B7EEF #EF5BC8
split-complementary
#EFCC5B #5BC8EF #825BEF
monochromatic
#BD9512 #EABB23 #EFCC5B #F4DD93 #FAEFCB

Accessibility & contrast

On white

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

On black

13.46
#EFCC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EFCC5B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EFCC5B#FFFFFF#000000##000000
##EFCC5B1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94F
Deuteranopia (green-blind)
#E9D360
Tritanopia (blue-blind)
#FFBDB3
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #efcc5b;
/* rgb */ color: rgb(239, 204, 91);
/* oklch */ color: oklch(85.4% 0.136 92.0);
Tailwind
colors: {
  custom: {
    50: '#f8db8e',
    500: '#efcc5b',
    950: '#000000',
  },
}
SCSS
$custom: #efcc5b;
$custom-light: #f8db8e;
$custom-dark: #000000;
JSON
{
  "hex": "#efcc5b",
  "rgb": {
    "r": 239,
    "g": 204,
    "b": 91
  },
  "hsl": {
    "h": 45.811,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85404,
    "c": 0.13641,
    "h": 92
  },
  "luminance": 0.62292
}

Semantic roles & 50–950 ramp

primary
#EFCC5B
secondary
#3353BC
accent
#3ADF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EFCC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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