#E0C146#E0C146

#E0C146 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.6% C 0.142 H 94.7°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#E0C146
RGBrgb(224, 193, 70)
HSLhsl(48, 71%, 58%)
HSVhsv(48, 69%, 88%)
CMYKcmyk(0%, 13.8%, 68.8%, 12.2%)
CIE-LABlab(78.71, -2.16, 63.28)
CIE-LCHlch(78.71, 63.32, 91.96°)
OKLaboklab(81.58% -0.0117 0.1417)
OKLCHoklch(81.58% 0.142 94.7)
XYZxyz(50.9185, 54.4322, 13.6176)
Luminance0.5443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0C146 #4665E0
analogous
#E07446 #E0C146 #B2E046
triadic
#E0C146 #46E0C1 #C146E0
tetradic
#E0C146 #46E074 #4665E0 #E046B2
square
#E0C146 #46E074 #4665E0 #E046B2
split-complementary
#E0C146 #46B2E0 #7446E0
monochromatic
#937A19 #C7A621 #E0C146 #E9D37A #F2E4AF

Accessibility & contrast

On white

1.77
#E0C146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#E0C146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0C146
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0C146#FFFFFF#000000##000000
##E0C1461.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BD35
Deuteranopia (green-blind)
#DCC74D
Tritanopia (blue-blind)
#F2B2A8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #e0c146;
/* rgb */ color: rgb(224, 193, 70);
/* oklch */ color: oklch(81.6% 0.142 94.7);
Tailwind
colors: {
  custom: {
    50: '#eed380',
    500: '#e0c146',
    950: '#000000',
  },
}
SCSS
$custom: #e0c146;
$custom-light: #eed380;
$custom-dark: #000000;
JSON
{
  "hex": "#e0c146",
  "rgb": {
    "r": 224,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 47.922,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81582,
    "c": 0.14221,
    "h": 94.7
  },
  "luminance": 0.54429
}

Semantic roles & 50–950 ramp

primary
#E0C146
secondary
#334798
accent
#5EEE3A
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E0C146

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

Preview Lab → · Contrast checker → · Palette generator →

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