#E2C74B#E2C74B

#E2C74B is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 83.0% C 0.143 H 96.8°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#E2C74B
RGBrgb(226, 199, 75)
HSLhsl(49, 72%, 59%)
HSVhsv(49, 67%, 89%)
CMYKcmyk(0%, 11.9%, 66.8%, 11.4%)
CIE-LABlab(80.47, -4.14, 63.12)
CIE-LCHlch(80.47, 63.26, 93.75°)
OKLaboklab(83.03% -0.0169 0.1422)
OKLCHoklch(83.03% 0.143 96.8)
XYZxyz(53.0599, 57.5262, 14.9641)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C74B #4B66E2
analogous
#E27C4B #E2C74B #B1E24B
triadic
#E2C74B #4BE2C7 #C74BE2
tetradic
#E2C74B #4BE27C #4B66E2 #E24BB1
square
#E2C74B #4BE27C #4B66E2 #E24BB1
split-complementary
#E2C74B #4BB1E2 #7C4BE2
monochromatic
#9A8319 #CFB021 #E2C74B #EAD780 #F3E8B4

Accessibility & contrast

On white

1.68
#E2C74B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#E2C74B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C74B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C74B#FFFFFF#000000##000000
##E2C74B1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33B
Deuteranopia (green-blind)
#E1CB52
Tritanopia (blue-blind)
#F3B9AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e2c74b;
/* rgb */ color: rgb(226, 199, 75);
/* oklch */ color: oklch(83.0% 0.143 96.8);
Tailwind
colors: {
  custom: {
    50: '#efd783',
    500: '#e2c74b',
    950: '#000000',
  },
}
SCSS
$custom: #e2c74b;
$custom-light: #efd783;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c74b",
  "rgb": {
    "r": 226,
    "g": 199,
    "b": 75
  },
  "hsl": {
    "h": 49.272,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83031,
    "c": 0.14317,
    "h": 96.8
  },
  "luminance": 0.57524
}

Semantic roles & 50–950 ramp

primary
#E2C74B
secondary
#34479E
accent
#59EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C74B

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

Preview Lab → · Contrast checker → · Palette generator →

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