#E2CF4F#E2CF4F

#E2CF4F is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.147 H 100.8°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#E2CF4F
RGBrgb(226, 207, 79)
HSLhsl(52, 72%, 60%)
HSVhsv(52, 65%, 89%)
CMYKcmyk(0%, 8.4%, 65%, 11.4%)
CIE-LABlab(82.57, -8.00, 63.68)
CIE-LCHlch(82.57, 64.18, 97.16°)
OKLaboklab(84.7% -0.0275 0.144)
OKLCHoklch(84.7% 0.147 100.8)
XYZxyz(55.0904, 61.3613, 16.3377)
Luminance0.6136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CF4F #4F62E2
analogous
#E2864F #E2CF4F #ABE24F
triadic
#E2CF4F #4FE2CF #CF4FE2
tetradic
#E2CF4F #4FE286 #4F62E2 #E24FAB
square
#E2CF4F #4FE286 #4F62E2 #E24FAB
split-complementary
#E2CF4F #4FABE2 #864FE2
monochromatic
#9D8C1A #D1BB22 #E2CF4F #EBDD84 #F3ECB8

Accessibility & contrast

On white

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

On black

13.27
#E2CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CF4F
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CF4F#FFFFFF#000000##000000
##E2CF4F1.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2cf4f;
/* rgb */ color: rgb(226, 207, 79);
/* oklch */ color: oklch(84.7% 0.147 100.8);
Tailwind
colors: {
  custom: {
    50: '#eedd86',
    500: '#e2cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #e2cf4f;
$custom-light: #eedd86;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cf4f",
  "rgb": {
    "r": 226,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 52.245,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84704,
    "c": 0.14656,
    "h": 100.8
  },
  "luminance": 0.61359
}

Semantic roles & 50–950 ramp

primary
#E2CF4F
secondary
#3543A0
accent
#51EE39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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