#EDCC66#EDCC66

#EDCC66 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.3% C 0.127 H 91.6°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#EDCC66
RGBrgb(237, 204, 102)
HSLhsl(45, 79%, 66%)
HSVhsv(45, 57%, 93%)
CMYKcmyk(0%, 13.9%, 57%, 7.1%)
CIE-LABlab(82.99, -0.37, 54.29)
CIE-LCHlch(82.99, 54.29, 90.40°)
OKLaboklab(85.34% -0.0036 0.1267)
OKLCHoklch(85.34% 0.127 91.6)
XYZxyz(58.9187, 62.1525, 21.4610)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDCC66 #6687ED
analogous
#ED8966 #EDCC66 #CBED66
triadic
#EDCC66 #66EDCC #CC66ED
tetradic
#EDCC66 #66ED89 #6687ED #ED66CB
square
#EDCC66 #66ED89 #6687ED #ED66CB
split-complementary
#EDCC66 #66CBED #8966ED
monochromatic
#C29817 #E7BA2F #EDCC66 #F3DE9D #FAF1D4

Accessibility & contrast

On white

1.56
#EDCC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#EDCC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDCC66
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDCC66#FFFFFF#000000##000000
##EDCC661.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95C
Deuteranopia (green-blind)
#E7D36A
Tritanopia (blue-blind)
#FEBEB5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #edcc66;
/* rgb */ color: rgb(237, 204, 102);
/* oklch */ color: oklch(85.3% 0.127 91.6);
Tailwind
colors: {
  custom: {
    50: '#f6db94',
    500: '#edcc66',
    950: '#000000',
  },
}
SCSS
$custom: #edcc66;
$custom-light: #f6db94;
$custom-dark: #000000;
JSON
{
  "hex": "#edcc66",
  "rgb": {
    "r": 237,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 45.333,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85336,
    "c": 0.12674,
    "h": 91.6
  },
  "luminance": 0.6215
}

Semantic roles & 50–950 ramp

primary
#EDCC66
secondary
#3759C0
accent
#3DDB0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #EDCC66

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

Preview Lab → · Contrast checker → · Palette generator →

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