#EEC948#EEC948

#EEC948 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.5% C 0.148 H 92.7°. Best body text is #000000 at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#EEC948
RGBrgb(238, 201, 72)
HSLhsl(47, 83%, 61%)
HSVhsv(47, 70%, 93%)
CMYKcmyk(0%, 15.5%, 69.7%, 6.7%)
CIE-LABlab(82.07, -0.27, 66.31)
CIE-LCHlch(82.07, 66.31, 90.23°)
OKLaboklab(84.54% -0.0069 0.148)
OKLCHoklch(84.54% 0.148 92.7)
XYZxyz(57.3193, 60.4216, 14.7731)
Luminance0.6042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EEC948 #486DEE
analogous
#EE7648 #EEC948 #C0EE48
triadic
#EEC948 #48EEC9 #C948EE
tetradic
#EEC948 #48EE76 #486DEE #EE48C0
square
#EEC948 #48EE76 #486DEE #EE48C0
split-complementary
#EEC948 #48C0EE #7648EE
monochromatic
#AC8910 #E4B615 #EEC948 #F3DA80 #F8EAB8

Accessibility & contrast

On white

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

On black

13.08
#EEC948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EEC948
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EEC948#FFFFFF#000000##000000
##EEC9481.001.6113.0813.08
#FFFFFF1.611.0021.0021.00
#00000013.0821.001.001.00
##00000013.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eec948;
/* rgb */ color: rgb(238, 201, 72);
/* oklch */ color: oklch(84.5% 0.148 92.7);
Tailwind
colors: {
  custom: {
    50: '#f8d982',
    500: '#eec948',
    950: '#000000',
  },
}
SCSS
$custom: #eec948;
$custom-light: #f8d982;
$custom-dark: #000000;
JSON
{
  "hex": "#eec948",
  "rgb": {
    "r": 238,
    "g": 201,
    "b": 72
  },
  "hsl": {
    "h": 46.627,
    "s": 83,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84541,
    "c": 0.14816,
    "h": 92.7
  },
  "luminance": 0.60418
}

Semantic roles & 50–950 ramp

primary
#EEC948
secondary
#2E4AAC
accent
#37DF06
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#18140B
muted
#86837E

Preview Lab

Preview with #EEC948

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

Preview Lab → · Contrast checker → · Palette generator →

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