#EEC851#EEC851

#EEC851 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.4% C 0.141 H 91.2°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#EEC851
RGBrgb(238, 200, 81)
HSLhsl(45, 82%, 63%)
HSVhsv(45, 66%, 93%)
CMYKcmyk(0%, 16%, 66%, 6.7%)
CIE-LABlab(81.88, 0.73, 62.45)
CIE-LCHlch(81.88, 62.45, 89.33°)
OKLaboklab(84.42% -0.003 0.1413)
OKLCHoklch(84.42% 0.141 91.2)
XYZxyz(57.4023, 60.0830, 16.3567)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEC851 #5177EE
analogous
#EE7A51 #EEC851 #C5EE51
triadic
#EEC851 #51EEC8 #C851EE
tetradic
#EEC851 #51EE7A #5177EE #EE51C5
square
#EEC851 #51EE7A #5177EE #EE51C5
split-complementary
#EEC851 #51C5EE #7A51EE
monochromatic
#B38C11 #E9B619 #EEC851 #F3DA89 #F9EBC1

Accessibility & contrast

On white

1.61
#EEC851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#EEC851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEC851
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEC851#FFFFFF#000000##000000
##EEC8511.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC543
Deuteranopia (green-blind)
#E6D057
Tritanopia (blue-blind)
#FFB9AF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #eec851;
/* rgb */ color: rgb(238, 200, 81);
/* oklch */ color: oklch(84.4% 0.141 91.2);
Tailwind
colors: {
  custom: {
    50: '#f7d887',
    500: '#eec851',
    950: '#000000',
  },
}
SCSS
$custom: #eec851;
$custom-light: #f7d887;
$custom-dark: #000000;
JSON
{
  "hex": "#eec851",
  "rgb": {
    "r": 238,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 45.478,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84418,
    "c": 0.14134,
    "h": 91.2
  },
  "luminance": 0.6008
}

Semantic roles & 50–950 ramp

primary
#EEC851
secondary
#3050B3
accent
#3BDF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EEC851

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

Preview Lab → · Contrast checker → · Palette generator →

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