#E3CC4E#E3CC4E

#E3CC4E is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.2% C 0.145 H 98.8°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#E3CC4E
RGBrgb(227, 204, 78)
HSLhsl(51, 73%, 60%)
HSVhsv(51, 66%, 89%)
CMYKcmyk(0%, 10.1%, 65.6%, 11%)
CIE-LABlab(81.88, -6.11, 63.38)
CIE-LCHlch(81.88, 63.68, 95.51°)
OKLaboklab(84.17% -0.0223 0.1432)
OKLCHoklch(84.17% 0.145 98.8)
XYZxyz(54.6490, 60.0692, 15.9222)
Luminance0.6007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3CC4E #4E65E3
analogous
#E3814E #E3CC4E #B0E34E
triadic
#E3CC4E #4EE3CC #CC4EE3
tetradic
#E3CC4E #4EE381 #4E65E3 #E34EB0
square
#E3CC4E #4EE381 #4E65E3 #E34EB0
split-complementary
#E3CC4E #4EB0E3 #814EE3
monochromatic
#9E8919 #D3B721 #E3CC4E #EBDB83 #F4EAB8

Accessibility & contrast

On white

1.61
#E3CC4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#E3CC4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3CC4E
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3CC4E#FFFFFF#000000##000000
##E3CC4E1.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73E
Deuteranopia (green-blind)
#E5CF55
Tritanopia (blue-blind)
#F4BEB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e3cc4e;
/* rgb */ color: rgb(227, 204, 78);
/* oklch */ color: oklch(84.2% 0.145 98.8);
Tailwind
colors: {
  custom: {
    50: '#efdb86',
    500: '#e3cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #e3cc4e;
$custom-light: #efdb86;
$custom-dark: #000000;
JSON
{
  "hex": "#e3cc4e",
  "rgb": {
    "r": 227,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 50.738,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84169,
    "c": 0.14488,
    "h": 98.8
  },
  "luminance": 0.60067
}

Semantic roles & 50–950 ramp

primary
#E3CC4E
secondary
#3445A1
accent
#55EF38
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E3CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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