#E2CF5A#E2CF5A

#E2CF5A is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.8% C 0.138 H 100.1°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E2CF5A
RGBrgb(226, 207, 90)
HSLhsl(52, 70%, 62%)
HSVhsv(52, 60%, 89%)
CMYKcmyk(0%, 8.4%, 60.2%, 11.4%)
CIE-LABlab(82.67, -7.31, 59.09)
CIE-LCHlch(82.67, 59.54, 97.05°)
OKLaboklab(84.81% -0.0243 0.1358)
OKLCHoklch(84.81% 0.138 100.1)
XYZxyz(55.5245, 61.5349, 18.6236)
Luminance0.6153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF5A #5A6DE2
analogous
#E28B5A #E2CF5A #B1E25A
triadic
#E2CF5A #5AE2CF #CF5AE2
tetradic
#E2CF5A #5AE28B #5A6DE2 #E25AB1
square
#E2CF5A #5AE28B #5A6DE2 #E25AB1
split-complementary
#E2CF5A #5AB1E2 #8B5AE2
monochromatic
#A5921D #D9C026 #E2CF5A #EBDE8E #F4EDC2

Accessibility & contrast

On white

1.58
#E2CF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#E2CF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF5A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF5A#FFFFFF#000000##000000
##E2CF5A1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4D
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#F2C1B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf5a;
/* rgb */ color: rgb(226, 207, 90);
/* oklch */ color: oklch(84.8% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#eedd8d',
    500: '#e2cf5a',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf5a;
$custom-light: #eedd8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf5a",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 90
  },
  "hsl": {
    "h": 51.618,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.84807,
    "c": 0.13795,
    "h": 100.1
  },
  "luminance": 0.61533
}

Semantic roles & 50–950 ramp

primary
#E2CF5A
secondary
#3948A7
accent
#2ED213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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