#E0CF4F#E0CF4F

#E0CF4F is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.5% C 0.147 H 101.7°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#E0CF4F
RGBrgb(224, 207, 79)
HSLhsl(53, 70%, 59%)
HSVhsv(53, 65%, 88%)
CMYKcmyk(0%, 7.6%, 64.7%, 12.2%)
CIE-LABlab(82.40, -8.83, 63.44)
CIE-LCHlch(82.40, 64.05, 97.93°)
OKLaboklab(84.53% -0.0298 0.1435)
OKLCHoklch(84.53% 0.147 101.7)
XYZxyz(54.4668, 61.0397, 16.3084)
Luminance0.6104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0CF4F #4F60E0
analogous
#E0874F #E0CF4F #A8E04F
triadic
#E0CF4F #4FE0CF #CF4FE0
tetradic
#E0CF4F #4FE087 #4F60E0 #E04FA8
square
#E0CF4F #4FE087 #4F60E0 #E04FA8
split-complementary
#E0CF4F #4FA8E0 #874FE0
monochromatic
#9A8B1B #CEBA24 #E0CF4F #E9DD83 #F2EBB7

Accessibility & contrast

On white

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

On black

13.21
#E0CF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0CF4F
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0CF4F#FFFFFF#000000##000000
##E0CF4F1.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e0cf4f;
/* rgb */ color: rgb(224, 207, 79);
/* oklch */ color: oklch(84.5% 0.147 101.7);
Tailwind
colors: {
  custom: {
    50: '#eddd86',
    500: '#e0cf4f',
    950: '#000000',
  },
}
SCSS
$custom: #e0cf4f;
$custom-light: #eddd86;
$custom-dark: #000000;
JSON
{
  "hex": "#e0cf4f",
  "rgb": {
    "r": 224,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 52.966,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84526,
    "c": 0.14657,
    "h": 101.7
  },
  "luminance": 0.61037
}

Semantic roles & 50–950 ramp

primary
#E0CF4F
secondary
#36429D
accent
#50ED3B
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0CF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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