#E2CF46#E2CF46

#E2CF46 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.6% C 0.153 H 101.3°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#E2CF46
RGBrgb(226, 207, 70)
HSLhsl(53, 73%, 58%)
HSVhsv(53, 69%, 89%)
CMYKcmyk(0%, 8.4%, 69%, 11.4%)
CIE-LABlab(82.51, -8.49, 67.17)
CIE-LCHlch(82.51, 67.71, 97.20°)
OKLaboklab(84.63% -0.0299 0.1499)
OKLCHoklch(84.63% 0.153 101.3)
XYZxyz(54.7848, 61.2390, 14.7277)
Luminance0.6124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF46 #4659E2
analogous
#E28146 #E2CF46 #A7E246
triadic
#E2CF46 #46E2CF #CF46E2
tetradic
#E2CF46 #46E281 #4659E2 #E246A7
square
#E2CF46 #46E281 #4659E2 #E246A7
split-complementary
#E2CF46 #46A7E2 #8146E2
monochromatic
#968718 #CBB620 #E2CF46 #EADD7B #F3EAB0

Accessibility & contrast

On white

1.59
#E2CF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#E2CF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF46
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF46#FFFFFF#000000##000000
##E2CF461.001.5913.2513.25
#FFFFFF1.591.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C932
Deuteranopia (green-blind)
#E7D14E
Tritanopia (blue-blind)
#F3C1B4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cf46;
/* rgb */ color: rgb(226, 207, 70);
/* oklch */ color: oklch(84.6% 0.153 101.3);
Tailwind
colors: {
  custom: {
    50: '#efdd81',
    500: '#e2cf46',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf46;
$custom-light: #efdd81;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf46",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 70
  },
  "hsl": {
    "h": 52.692,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84631,
    "c": 0.15284,
    "h": 101.3
  },
  "luminance": 0.61237
}

Semantic roles & 50–950 ramp

primary
#E2CF46
secondary
#323F9A
accent
#4FF038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CF46

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

Preview Lab → · Contrast checker → · Palette generator →

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