#E2C23D#E2C23D

#E2C23D is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.9% C 0.149 H 95.1°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#E2C23D
RGBrgb(226, 194, 61)
HSLhsl(48, 74%, 56%)
HSVhsv(48, 73%, 89%)
CMYKcmyk(0%, 14.2%, 73%, 11.4%)
CIE-LABlab(79.09, -2.26, 67.18)
CIE-LCHlch(79.09, 67.22, 91.93°)
OKLaboklab(81.91% -0.0131 0.1483)
OKLCHoklch(81.91% 0.149 95.1)
XYZxyz(51.5008, 55.0921, 12.3352)
Luminance0.5509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C23D #3D5DE2
analogous
#E2703D #E2C23D #AFE23D
triadic
#E2C23D #3DE2C2 #C23DE2
tetradic
#E2C23D #3DE270 #3D5DE2 #E23DAF
square
#E2C23D #3DE270 #3D5DE2 #E23DAF
split-complementary
#E2C23D #3DAFE2 #703DE2
monochromatic
#8F7815 #C4A41D #E2C23D #EAD372 #F2E3A7

Accessibility & contrast

On white

1.75
#E2C23D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#E2C23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C23D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C23D#FFFFFF#000000##000000
##E2C23D1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE27
Deuteranopia (green-blind)
#DEC845
Tritanopia (blue-blind)
#F4B3A8
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c23d;
/* rgb */ color: rgb(226, 194, 61);
/* oklch */ color: oklch(81.9% 0.149 95.1);
Tailwind
colors: {
  custom: {
    50: '#efd47b',
    500: '#e2c23d',
    950: '#000000',
  },
}
SCSS
$custom: #e2c23d;
$custom-light: #efd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c23d",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 61
  },
  "hsl": {
    "h": 48.364,
    "s": 73.991,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81908,
    "c": 0.14887,
    "h": 95.1
  },
  "luminance": 0.55089
}

Semantic roles & 50–950 ramp

primary
#E2C23D
secondary
#2F4394
accent
#5BF137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #E2C23D

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

Preview Lab → · Contrast checker → · Palette generator →

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