#E2C34B#E2C34B

#E2C34B is a very light, vivid yellow. Relative luminance 0.557; OKLCH L 82.2% C 0.140 H 94.5°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#E2C34B
RGBrgb(226, 195, 75)
HSLhsl(48, 72%, 59%)
HSVhsv(48, 67%, 89%)
CMYKcmyk(0%, 13.7%, 66.8%, 11.4%)
CIE-LABlab(79.45, -2.08, 62.06)
CIE-LCHlch(79.45, 62.09, 91.92°)
OKLaboklab(82.22% -0.011 0.1399)
OKLCHoklch(82.22% 0.14 94.5)
XYZxyz(52.1517, 55.7097, 14.6613)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C34B #4B6AE2
analogous
#E2784B #E2C34B #B6E24B
triadic
#E2C34B #4BE2C3 #C34BE2
tetradic
#E2C34B #4BE278 #4B6AE2 #E24BB6
square
#E2C34B #4BE278 #4B6AE2 #E24BB6
split-complementary
#E2C34B #4BB6E2 #784BE2
monochromatic
#9A7F19 #CFAB21 #E2C34B #EAD580 #F3E6B4

Accessibility & contrast

On white

1.73
#E2C34B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#E2C34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C34B
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C34B#FFFFFF#000000##000000
##E2C34B1.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3C
Deuteranopia (green-blind)
#DEC951
Tritanopia (blue-blind)
#F3B4AA
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #e2c34b;
/* rgb */ color: rgb(226, 195, 75);
/* oklch */ color: oklch(82.2% 0.140 94.5);
Tailwind
colors: {
  custom: {
    50: '#efd483',
    500: '#e2c34b',
    950: '#000000',
  },
}
SCSS
$custom: #e2c34b;
$custom-light: #efd483;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c34b",
  "rgb": {
    "r": 226,
    "g": 195,
    "b": 75
  },
  "hsl": {
    "h": 47.682,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82219,
    "c": 0.14033,
    "h": 94.5
  },
  "luminance": 0.55707
}

Semantic roles & 50–950 ramp

primary
#E2C34B
secondary
#34499E
accent
#5EEF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C34B

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

Preview Lab → · Contrast checker → · Palette generator →

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