#E2C250#E2C250

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

Color values

HEX#E2C250
RGBrgb(226, 194, 80)
HSLhsl(47, 72%, 60%)
HSVhsv(47, 65%, 89%)
CMYKcmyk(0%, 14.2%, 64.6%, 11.4%)
CIE-LABlab(79.23, -1.27, 59.71)
CIE-LCHlch(79.23, 59.73, 91.22°)
OKLaboklab(82.06% -0.0081 0.1357)
OKLCHoklch(82.06% 0.136 93.4)
XYZxyz(52.1063, 55.3343, 15.5239)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C250 #5070E2
analogous
#E27950 #E2C250 #B9E250
triadic
#E2C250 #50E2C2 #C250E2
tetradic
#E2C250 #50E279 #5070E2 #E250B9
square
#E2C250 #50E279 #5070E2 #E250B9
split-complementary
#E2C250 #50B9E2 #7950E2
monochromatic
#9E811A #D2AC23 #E2C250 #EBD484 #F3E7B9

Accessibility & contrast

On white

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

On black

12.07
#E2C250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C250
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C250#FFFFFF#000000##000000
##E2C2501.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF43
Deuteranopia (green-blind)
#DDC855
Tritanopia (blue-blind)
#F3B4AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e2c250;
/* rgb */ color: rgb(226, 194, 80);
/* oklch */ color: oklch(82.1% 0.136 93.4);
Tailwind
colors: {
  custom: {
    50: '#efd486',
    500: '#e2c250',
    950: '#000000',
  },
}
SCSS
$custom: #e2c250;
$custom-light: #efd486;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c250",
  "rgb": {
    "r": 226,
    "g": 194,
    "b": 80
  },
  "hsl": {
    "h": 46.849,
    "s": 71.569,
    "l": 60
  },
  "oklch": {
    "l": 0.82062,
    "c": 0.13596,
    "h": 93.4
  },
  "luminance": 0.55332
}

Semantic roles & 50–950 ramp

primary
#E2C250
secondary
#354DA1
accent
#61EE39
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #E2C250

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

Preview Lab → · Contrast checker → · Palette generator →

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