#E2CC3F#E2CC3F

#E2CC3F is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 84.0% C 0.155 H 100.1°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#E2CC3F
RGBrgb(226, 204, 63)
HSLhsl(52, 74%, 57%)
HSVhsv(52, 72%, 89%)
CMYKcmyk(0%, 9.7%, 72.1%, 11.4%)
CIE-LABlab(81.68, -7.30, 68.96)
CIE-LCHlch(81.68, 69.34, 96.04°)
OKLaboklab(83.96% -0.0272 0.1524)
OKLCHoklch(83.96% 0.155 100.1)
XYZxyz(53.8566, 59.7159, 13.3912)
Luminance0.5971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CC3F #3F55E2
analogous
#E27B3F #E2CC3F #A7E23F
triadic
#E2CC3F #3FE2CC #CC3FE2
tetradic
#E2CC3F #3FE27B #3F55E2 #E23FA7
square
#E2CC3F #3FE27B #3F55E2 #E23FA7
split-complementary
#E2CC3F #3FA7E2 #7B3FE2
monochromatic
#918016 #C6AF1E #E2CC3F #EADA74 #F2E8A9

Accessibility & contrast

On white

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

On black

12.94
#E2CC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CC3F
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CC3F#FFFFFF#000000##000000
##E2CC3F1.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC627
Deuteranopia (green-blind)
#E6CF48
Tritanopia (blue-blind)
#F3BDB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2cc3f;
/* rgb */ color: rgb(226, 204, 63);
/* oklch */ color: oklch(84.0% 0.155 100.1);
Tailwind
colors: {
  custom: {
    50: '#efdb7d',
    500: '#e2cc3f',
    950: '#000000',
  },
}
SCSS
$custom: #e2cc3f;
$custom-light: #efdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cc3f",
  "rgb": {
    "r": 226,
    "g": 204,
    "b": 63
  },
  "hsl": {
    "h": 51.902,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.83963,
    "c": 0.15484,
    "h": 100.1
  },
  "luminance": 0.59713
}

Semantic roles & 50–950 ramp

primary
#E2CC3F
secondary
#303D96
accent
#50F037
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2CC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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