#E2C468#E2C468

#E2C468 is a very light, moderate yellow. Relative luminance 0.566; OKLCH L 82.7% C 0.117 H 91.7°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#E2C468
RGBrgb(226, 196, 104)
HSLhsl(45, 68%, 65%)
HSVhsv(45, 54%, 89%)
CMYKcmyk(0%, 13.3%, 54%, 11.4%)
CIE-LABlab(79.98, -0.62, 49.56)
CIE-LCHlch(79.98, 49.56, 90.71°)
OKLaboklab(82.73% -0.0034 0.1169)
OKLCHoklch(82.73% 0.117 91.7)
XYZxyz(53.6048, 56.6506, 21.2051)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C468 #6886E2
analogous
#E28768 #E2C468 #C3E268
triadic
#E2C468 #68E2C4 #C468E2
tetradic
#E2C468 #68E287 #6886E2 #E268C3
square
#E2C468 #68E287 #6886E2 #E268C3
split-complementary
#E2C468 #68C3E2 #8768E2
monochromatic
#AE8C21 #D8B035 #E2C468 #ECD89B #F6ECCF

Accessibility & contrast

On white

1.70
#E2C468 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#E2C468 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C468
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C468#FFFFFF#000000##000000
##E2C4681.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C160
Deuteranopia (green-blind)
#DDCA6C
Tritanopia (blue-blind)
#F2B7AF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c468;
/* rgb */ color: rgb(226, 196, 104);
/* oklch */ color: oklch(82.7% 0.117 91.7);
Tailwind
colors: {
  custom: {
    50: '#eed595',
    500: '#e2c468',
    950: '#000000',
  },
}
SCSS
$custom: #e2c468;
$custom-light: #eed595;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c468",
  "rgb": {
    "r": 226,
    "g": 196,
    "b": 104
  },
  "hsl": {
    "h": 45.246,
    "s": 67.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.82731,
    "c": 0.1169,
    "h": 91.7
  },
  "luminance": 0.56648
}

Semantic roles & 50–950 ramp

primary
#E2C468
secondary
#3F5AB0
accent
#44D016
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E2C468

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

Preview Lab → · Contrast checker → · Palette generator →

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