#E2C84B#E2C84B

#E2C84B is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.2% C 0.144 H 97.3°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#E2C84B
RGBrgb(226, 200, 75)
HSLhsl(50, 72%, 59%)
HSVhsv(50, 67%, 89%)
CMYKcmyk(0%, 11.5%, 66.8%, 11.4%)
CIE-LABlab(80.73, -4.65, 63.39)
CIE-LCHlch(80.73, 63.56, 94.20°)
OKLaboklab(83.24% -0.0184 0.1427)
OKLCHoklch(83.24% 0.144 97.3)
XYZxyz(53.2908, 57.9879, 15.0410)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C84B #4B65E2
analogous
#E27D4B #E2C84B #B1E24B
triadic
#E2C84B #4BE2C8 #C84BE2
tetradic
#E2C84B #4BE27D #4B65E2 #E24BB1
square
#E2C84B #4BE27D #4B65E2 #E24BB1
split-complementary
#E2C84B #4BB1E2 #7D4BE2
monochromatic
#9A8419 #CFB121 #E2C84B #EAD880 #F3E8B4

Accessibility & contrast

On white

1.67
#E2C84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#E2C84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C84B
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C84B#FFFFFF#000000##000000
##E2C84B1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33B
Deuteranopia (green-blind)
#E2CC52
Tritanopia (blue-blind)
#F3BAAE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e2c84b;
/* rgb */ color: rgb(226, 200, 75);
/* oklch */ color: oklch(83.2% 0.144 97.3);
Tailwind
colors: {
  custom: {
    50: '#efd883',
    500: '#e2c84b',
    950: '#000000',
  },
}
SCSS
$custom: #e2c84b;
$custom-light: #efd883;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c84b",
  "rgb": {
    "r": 226,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 49.669,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83235,
    "c": 0.14391,
    "h": 97.3
  },
  "luminance": 0.57985
}

Semantic roles & 50–950 ramp

primary
#E2C84B
secondary
#34469E
accent
#58EF39
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C84B

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

Preview Lab → · Contrast checker → · Palette generator →

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