#EEC956#EEC956

#EEC956 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.7% C 0.138 H 91.3°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#EEC956
RGBrgb(238, 201, 86)
HSLhsl(45, 82%, 64%)
HSVhsv(45, 64%, 93%)
CMYKcmyk(0%, 15.5%, 63.9%, 6.7%)
CIE-LABlab(82.18, 0.50, 60.62)
CIE-LCHlch(82.18, 60.62, 89.52°)
OKLaboklab(84.66% -0.003 0.1382)
OKLCHoklch(84.66% 0.138 91.3)
XYZxyz(57.8291, 60.6255, 17.4582)
Luminance0.6062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEC956 #567BEE
analogous
#EE7D56 #EEC956 #C7EE56
triadic
#EEC956 #56EEC9 #C956EE
tetradic
#EEC956 #56EE7D #567BEE #EE56C7
square
#EEC956 #56EE7D #567BEE #EE56C7
split-complementary
#EEC956 #56C7EE #7D56EE
monochromatic
#B78F12 #E8B71E #EEC956 #F4DB8E #F9EDC5

Accessibility & contrast

On white

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

On black

13.12
#EEC956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEC956
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEC956#FFFFFF#000000##000000
##EEC9561.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eec956;
/* rgb */ color: rgb(238, 201, 86);
/* oklch */ color: oklch(84.7% 0.138 91.3);
Tailwind
colors: {
  custom: {
    50: '#f7d98a',
    500: '#eec956',
    950: '#000000',
  },
}
SCSS
$custom: #eec956;
$custom-light: #f7d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#eec956",
  "rgb": {
    "r": 238,
    "g": 201,
    "b": 86
  },
  "hsl": {
    "h": 45.395,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84663,
    "c": 0.13821,
    "h": 91.3
  },
  "luminance": 0.60622
}

Semantic roles & 50–950 ramp

primary
#EEC956
secondary
#3252B7
accent
#3CDE07
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EEC956

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

Preview Lab → · Contrast checker → · Palette generator →

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