#E2D233#E2D233

#E2D233 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.1% C 0.166 H 103.3°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#E2D233
RGBrgb(226, 210, 51)
HSLhsl(55, 75%, 54%)
HSVhsv(55, 77%, 89%)
CMYKcmyk(0%, 7.1%, 77.4%, 11.4%)
CIE-LABlab(83.18, -10.82, 74.32)
CIE-LCHlch(83.18, 75.11, 98.28°)
OKLaboklab(85.13% -0.0382 0.1616)
OKLCHoklch(85.13% 0.166 103.3)
XYZxyz(55.0107, 62.5033, 12.2980)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D233 #3343E2
analogous
#E27B33 #E2D233 #9BE233
triadic
#E2D233 #33E2D2 #D233E2
tetradic
#E2D233 #33E27B #3343E2 #E2339B
square
#E2D233 #33E27B #3343E2 #E2339B
split-complementary
#E2D233 #339BE2 #7B33E2
monochromatic
#877D13 #BDAE1B #E2D233 #EADE69 #F1EA9E

Accessibility & contrast

On white

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

On black

13.50
#E2D233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D233
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D233#FFFFFF#000000##000000
##E2D2331.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB03
Deuteranopia (green-blind)
#EAD340
Tritanopia (blue-blind)
#F3C3B4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d233;
/* rgb */ color: rgb(226, 210, 51);
/* oklch */ color: oklch(85.1% 0.166 103.3);
Tailwind
colors: {
  custom: {
    50: '#efdf78',
    500: '#e2d233',
    950: '#000000',
  },
}
SCSS
$custom: #e2d233;
$custom-light: #efdf78;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d233",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 51
  },
  "hsl": {
    "h": 54.514,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85131,
    "c": 0.16609,
    "h": 103.3
  },
  "luminance": 0.62501
}

Semantic roles & 50–950 ramp

primary
#E2D233
secondary
#2C358D
accent
#47F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D233

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

Preview Lab → · Contrast checker → · Palette generator →

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