#EEC951#EEC951

#EEC951 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.6% C 0.142 H 91.8°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#EEC951
RGBrgb(238, 201, 81)
HSLhsl(46, 82%, 63%)
HSVhsv(46, 66%, 93%)
CMYKcmyk(0%, 15.5%, 66%, 6.7%)
CIE-LABlab(82.14, 0.21, 62.71)
CIE-LCHlch(82.14, 62.71, 89.81°)
OKLaboklab(84.62% -0.0045 0.1419)
OKLCHoklch(84.62% 0.142 91.8)
XYZxyz(57.6347, 60.5477, 16.4341)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEC951 #5176EE
analogous
#EE7B51 #EEC951 #C4EE51
triadic
#EEC951 #51EEC9 #C951EE
tetradic
#EEC951 #51EE7B #5176EE #EE51C4
square
#EEC951 #51EE7B #5176EE #EE51C4
split-complementary
#EEC951 #51C4EE #7B51EE
monochromatic
#B38D11 #E9B819 #EEC951 #F3DA89 #F9ECC1

Accessibility & contrast

On white

1.60
#EEC951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#EEC951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEC951
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEC951#FFFFFF#000000##000000
##EEC9511.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC642
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#FFBAB0
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #eec951;
/* rgb */ color: rgb(238, 201, 81);
/* oklch */ color: oklch(84.6% 0.142 91.8);
Tailwind
colors: {
  custom: {
    50: '#f7d987',
    500: '#eec951',
    950: '#000000',
  },
}
SCSS
$custom: #eec951;
$custom-light: #f7d987;
$custom-dark: #000000;
JSON
{
  "hex": "#eec951",
  "rgb": {
    "r": 238,
    "g": 201,
    "b": 81
  },
  "hsl": {
    "h": 45.86,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84617,
    "c": 0.14194,
    "h": 91.8
  },
  "luminance": 0.60545
}

Semantic roles & 50–950 ramp

primary
#EEC951
secondary
#304FB3
accent
#3ADF07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EEC951

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

Preview Lab → · Contrast checker → · Palette generator →

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