#E2CD2D#E2CD2D

#E2CD2D is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.1% C 0.165 H 101.3°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#E2CD2D
RGBrgb(226, 205, 45)
HSLhsl(53, 76%, 53%)
HSVhsv(53, 80%, 89%)
CMYKcmyk(0%, 9.3%, 80.1%, 11.4%)
CIE-LABlab(81.85, -8.50, 74.89)
CIE-LCHlch(81.85, 75.37, 96.47°)
OKLaboklab(84.07% -0.0322 0.1617)
OKLCHoklch(84.07% 0.165 101.3)
XYZxyz(53.6717, 60.0234, 11.2407)
Luminance0.6002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD2D #2D42E2
analogous
#E2732D #E2CD2D #9CE22D
triadic
#E2CD2D #2DE2CD #CD2DE2
tetradic
#E2CD2D #2DE273 #2D42E2 #E22D9C
square
#E2CD2D #2DE273 #2D42E2 #E22D9C
split-complementary
#E2CD2D #2D9CE2 #732DE2
monochromatic
#837612 #B8A619 #E2CD2D #E9DA63 #F1E799

Accessibility & contrast

On white

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

On black

13.00
#E2CD2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD2D
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD2D#FFFFFF#000000##000000
##E2CD2D1.001.6113.0013.00
#FFFFFF1.611.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C700
Deuteranopia (green-blind)
#E7CF3A
Tritanopia (blue-blind)
#F4BEB0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #e2cd2d;
/* rgb */ color: rgb(226, 205, 45);
/* oklch */ color: oklch(84.1% 0.165 101.3);
Tailwind
colors: {
  custom: {
    50: '#f0db75',
    500: '#e2cd2d',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd2d;
$custom-light: #f0db75;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd2d",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 45
  },
  "hsl": {
    "h": 53.039,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.84066,
    "c": 0.16488,
    "h": 101.3
  },
  "luminance": 0.60021
}

Semantic roles & 50–950 ramp

primary
#E2CD2D
secondary
#2A3589
accent
#4BF235
background
#FFFEFB
surface
#FFFBF1
border
#D7D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #E2CD2D

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

Preview Lab → · Contrast checker → · Palette generator →

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