#E2CE2E#E2CE2E

#E2CE2E is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.3% C 0.165 H 101.7°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#E2CE2E
RGBrgb(226, 206, 46)
HSLhsl(53, 76%, 53%)
HSVhsv(53, 80%, 89%)
CMYKcmyk(0%, 8.8%, 79.6%, 11.4%)
CIE-LABlab(82.12, -8.97, 74.84)
CIE-LCHlch(82.12, 75.37, 96.84°)
OKLaboklab(84.28% -0.0335 0.1618)
OKLCHoklch(84.28% 0.165 101.7)
XYZxyz(53.9311, 60.5111, 11.4233)
Luminance0.6051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CE2E #2E42E2
analogous
#E2742E #E2CE2E #9CE22E
triadic
#E2CE2E #2EE2CE #CE2EE2
tetradic
#E2CE2E #2EE274 #2E42E2 #E22E9C
square
#E2CE2E #2EE274 #2E42E2 #E22E9C
split-complementary
#E2CE2E #2E9CE2 #742EE2
monochromatic
#837712 #B9A71A #E2CE2E #E9DB64 #F1E799

Accessibility & contrast

On white

1.60
#E2CE2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#E2CE2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CE2E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CE2E#FFFFFF#000000##000000
##E2CE2E1.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C800
Deuteranopia (green-blind)
#E8D03B
Tritanopia (blue-blind)
#F4BFB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e2ce2e;
/* rgb */ color: rgb(226, 206, 46);
/* oklch */ color: oklch(84.3% 0.165 101.7);
Tailwind
colors: {
  custom: {
    50: '#f0dc75',
    500: '#e2ce2e',
    950: '#000000',
  },
}
SCSS
$custom: #e2ce2e;
$custom-light: #f0dc75;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ce2e",
  "rgb": {
    "r": 226,
    "g": 206,
    "b": 46
  },
  "hsl": {
    "h": 53.333,
    "s": 75.63,
    "l": 53.333
  },
  "oklch": {
    "l": 0.84277,
    "c": 0.16522,
    "h": 101.7
  },
  "luminance": 0.60509
}

Semantic roles & 50–950 ramp

primary
#E2CE2E
secondary
#2A358A
accent
#4BF236
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171509
muted
#85847D

Preview Lab

Preview with #E2CE2E

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

Preview Lab → · Contrast checker → · Palette generator →

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