#E2C751#E2C751

#E2C751 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.1% C 0.139 H 96.3°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#E2C751
RGBrgb(226, 199, 81)
HSLhsl(49, 71%, 60%)
HSVhsv(49, 64%, 89%)
CMYKcmyk(0%, 11.9%, 64.2%, 11.4%)
CIE-LABlab(80.52, -3.79, 60.67)
CIE-LCHlch(80.52, 60.78, 93.58°)
OKLaboklab(83.08% -0.0152 0.1379)
OKLCHoklch(83.08% 0.139 96.3)
XYZxyz(53.2751, 57.6123, 16.0971)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C751 #516CE2
analogous
#E27F51 #E2C751 #B4E251
triadic
#E2C751 #51E2C7 #C751E2
tetradic
#E2C751 #51E27F #516CE2 #E251B4
square
#E2C751 #51E27F #516CE2 #E251B4
split-complementary
#E2C751 #51B4E2 #7F51E2
monochromatic
#9E861A #D3B223 #E2C751 #EBD885 #F3E9BA

Accessibility & contrast

On white

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

On black

12.52
#E2C751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C751
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C751#FFFFFF#000000##000000
##E2C7511.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC343
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#F3B9AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e2c751;
/* rgb */ color: rgb(226, 199, 81);
/* oklch */ color: oklch(83.1% 0.139 96.3);
Tailwind
colors: {
  custom: {
    50: '#eed787',
    500: '#e2c751',
    950: '#000000',
  },
}
SCSS
$custom: #e2c751;
$custom-light: #eed787;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c751",
  "rgb": {
    "r": 226,
    "g": 199,
    "b": 81
  },
  "hsl": {
    "h": 48.828,
    "s": 71.429,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83084,
    "c": 0.13873,
    "h": 96.3
  },
  "luminance": 0.5761
}

Semantic roles & 50–950 ramp

primary
#E2C751
secondary
#364AA1
accent
#36D312
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C751

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

Preview Lab → · Contrast checker → · Palette generator →

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