#EDD166#EDD166

#EDD166 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 86.3% C 0.130 H 94.9°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#EDD166
RGBrgb(237, 209, 102)
HSLhsl(48, 79%, 66%)
HSVhsv(48, 57%, 93%)
CMYKcmyk(0%, 11.8%, 57%, 7.1%)
CIE-LABlab(84.26, -2.94, 55.75)
CIE-LCHlch(84.26, 55.82, 93.02°)
OKLaboklab(86.34% -0.011 0.1298)
OKLCHoklch(86.34% 0.13 94.9)
XYZxyz(60.1262, 64.5676, 21.8635)
Luminance0.6456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD166 #6682ED
analogous
#ED8E66 #EDD166 #C5ED66
triadic
#EDD166 #66EDD1 #D166ED
tetradic
#EDD166 #66ED8E #6682ED #ED66C5
square
#EDD166 #66ED8E #6682ED #ED66C5
split-complementary
#EDD166 #66C5ED #8E66ED
monochromatic
#C29E17 #E7C12F #EDD166 #F3E19D #FAF2D4

Accessibility & contrast

On white

1.51
#EDD166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#EDD166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD166
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD166#FFFFFF#000000##000000
##EDD1661.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD5B
Deuteranopia (green-blind)
#EBD66B
Tritanopia (blue-blind)
#FEC3B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #edd166;
/* rgb */ color: rgb(237, 209, 102);
/* oklch */ color: oklch(86.3% 0.130 94.9);
Tailwind
colors: {
  custom: {
    50: '#f6de95',
    500: '#edd166',
    950: '#000000',
  },
}
SCSS
$custom: #edd166;
$custom-light: #f6de95;
$custom-dark: #000000;
JSON
{
  "hex": "#edd166",
  "rgb": {
    "r": 237,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 47.556,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86336,
    "c": 0.13031,
    "h": 94.9
  },
  "luminance": 0.64565
}

Semantic roles & 50–950 ramp

primary
#EDD166
secondary
#3754C0
accent
#36DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #EDD166

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

Preview Lab → · Contrast checker → · Palette generator →

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