#E0C262#E0C262

#E0C262 is a very light, vivid yellow. Relative luminance 0.553; OKLCH L 82.1% C 0.121 H 92.2°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#E0C262
RGBrgb(224, 194, 98)
HSLhsl(46, 67%, 63%)
HSVhsv(46, 56%, 88%)
CMYKcmyk(0%, 13.4%, 56.3%, 12.2%)
CIE-LABlab(79.22, -0.88, 51.48)
CIE-LCHlch(79.22, 51.49, 90.98°)
OKLaboklab(82.07% -0.0047 0.1205)
OKLCHoklch(82.07% 0.121 92.2)
XYZxyz(52.2390, 55.3153, 19.4782)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C262 #6280E0
analogous
#E08362 #E0C262 #BFE062
triadic
#E0C262 #62E0C2 #C262E0
tetradic
#E0C262 #62E083 #6280E0 #E062BF
square
#E0C262 #62E083 #6280E0 #E062BF
split-complementary
#E0C262 #62BFE0 #8362E0
monochromatic
#A78721 #D6AE2F #E0C262 #EAD695 #F4EAC8

Accessibility & contrast

On white

1.74
#E0C262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#E0C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C262
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C262#FFFFFF#000000##000000
##E0C2621.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF59
Deuteranopia (green-blind)
#DBC866
Tritanopia (blue-blind)
#F0B5AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e0c262;
/* rgb */ color: rgb(224, 194, 98);
/* oklch */ color: oklch(82.1% 0.121 92.2);
Tailwind
colors: {
  custom: {
    50: '#ecd491',
    500: '#e0c262',
    950: '#000000',
  },
}
SCSS
$custom: #e0c262;
$custom-light: #ecd491;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c262",
  "rgb": {
    "r": 224,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 45.714,
    "s": 67.021,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82066,
    "c": 0.12056,
    "h": 92.2
  },
  "luminance": 0.55313
}

Semantic roles & 50–950 ramp

primary
#E0C262
secondary
#3D57A9
accent
#42CF17
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E0C262

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

Preview Lab → · Contrast checker → · Palette generator →

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