#EECF51#EECF51

#EECF51 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.8% C 0.146 H 95.2°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#EECF51
RGBrgb(238, 207, 81)
HSLhsl(48, 82%, 63%)
HSVhsv(48, 66%, 93%)
CMYKcmyk(0%, 13%, 66%, 6.7%)
CIE-LABlab(83.65, -2.87, 64.31)
CIE-LCHlch(83.65, 64.38, 92.55°)
OKLaboklab(85.82% -0.0133 0.1453)
OKLCHoklch(85.82% 0.146 95.2)
XYZxyz(59.0607, 63.3999, 16.9095)
Luminance0.6340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EECF51 #5170EE
analogous
#EE8151 #EECF51 #BEEE51
triadic
#EECF51 #51EECF #CF51EE
tetradic
#EECF51 #51EE81 #5170EE #EE51BE
square
#EECF51 #51EE81 #5170EE #EE51BE
split-complementary
#EECF51 #51BEEE #8151EE
monochromatic
#B39311 #E9C019 #EECF51 #F3DE89 #F9EEC1

Accessibility & contrast

On white

1.54
#EECF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#EECF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EECF51
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EECF51#FFFFFF#000000##000000
##EECF511.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#EBD557
Tritanopia (blue-blind)
#FFC0B5
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #eecf51;
/* rgb */ color: rgb(238, 207, 81);
/* oklch */ color: oklch(85.8% 0.146 95.2);
Tailwind
colors: {
  custom: {
    50: '#f7dd88',
    500: '#eecf51',
    950: '#000000',
  },
}
SCSS
$custom: #eecf51;
$custom-light: #f7dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#eecf51",
  "rgb": {
    "r": 238,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 48.153,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85815,
    "c": 0.14587,
    "h": 95.2
  },
  "luminance": 0.63397
}

Semantic roles & 50–950 ramp

primary
#EECF51
secondary
#304AB3
accent
#31DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EECF51

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

Preview Lab → · Contrast checker → · Palette generator →

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