#E2CF58#E2CF58

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

Color values

HEX#E2CF58
RGBrgb(226, 207, 88)
HSLhsl(52, 70%, 62%)
HSVhsv(52, 61%, 89%)
CMYKcmyk(0%, 8.4%, 61.1%, 11.4%)
CIE-LABlab(82.65, -7.44, 59.95)
CIE-LCHlch(82.65, 60.41, 97.07°)
OKLaboklab(84.79% -0.0249 0.1374)
OKLCHoklch(84.79% 0.14 100.3)
XYZxyz(55.4405, 61.5013, 18.1813)
Luminance0.6150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF58 #586BE2
analogous
#E28A58 #E2CF58 #B0E258
triadic
#E2CF58 #58E2CF #CF58E2
tetradic
#E2CF58 #58E28A #586BE2 #E258B0
square
#E2CF58 #58E28A #586BE2 #E258B0
split-complementary
#E2CF58 #58B0E2 #8A58E2
monochromatic
#A3911C #D7BF25 #E2CF58 #EBDE8C #F4EDC0

Accessibility & contrast

On white

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

On black

13.30
#E2CF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF58
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF58#FFFFFF#000000##000000
##E2CF581.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4B
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#F2C1B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2cf58;
/* rgb */ color: rgb(226, 207, 88);
/* oklch */ color: oklch(84.8% 0.140 100.3);
Tailwind
colors: {
  custom: {
    50: '#eedd8c',
    500: '#e2cf58',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf58;
$custom-light: #eedd8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf58",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 88
  },
  "hsl": {
    "h": 51.739,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84787,
    "c": 0.1396,
    "h": 100.3
  },
  "luminance": 0.61499
}

Semantic roles & 50–950 ramp

primary
#E2CF58
secondary
#3847A6
accent
#2DD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF58

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

Preview Lab → · Contrast checker → · Palette generator →

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