#E2CF47#E2CF47

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

Color values

HEX#E2CF47
RGBrgb(226, 207, 71)
HSLhsl(53, 73%, 58%)
HSVhsv(53, 69%, 89%)
CMYKcmyk(0%, 8.4%, 68.6%, 11.4%)
CIE-LABlab(82.51, -8.44, 66.80)
CIE-LCHlch(82.51, 67.33, 97.20°)
OKLaboklab(84.64% -0.0296 0.1493)
OKLCHoklch(84.64% 0.152 101.2)
XYZxyz(54.8166, 61.2517, 14.8954)
Luminance0.6125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF47 #475AE2
analogous
#E28147 #E2CF47 #A7E247
triadic
#E2CF47 #47E2CF #CF47E2
tetradic
#E2CF47 #47E281 #475AE2 #E247A7
square
#E2CF47 #47E281 #475AE2 #E247A7
split-complementary
#E2CF47 #47A7E2 #8147E2
monochromatic
#978718 #CCB720 #E2CF47 #EADD7C #F3EBB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2CF47#FFFFFF#000000##000000
##E2CF471.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cf47;
/* rgb */ color: rgb(226, 207, 71);
/* oklch */ color: oklch(84.6% 0.152 101.2);
Tailwind
colors: {
  custom: {
    50: '#efdd82',
    500: '#e2cf47',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf47;
$custom-light: #efdd82;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf47",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 71
  },
  "hsl": {
    "h": 52.645,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84638,
    "c": 0.15218,
    "h": 101.2
  },
  "luminance": 0.61249
}

Semantic roles & 50–950 ramp

primary
#E2CF47
secondary
#323F9B
accent
#4FEF38
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2CF47

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

Preview Lab → · Contrast checker → · Palette generator →

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