#EDEC5C#EDEC5C

#EDEC5C is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.8% C 0.163 H 108.8°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#EDEC5C
RGBrgb(237, 236, 92)
HSLhsl(60, 80%, 65%)
HSVhsv(60, 61%, 93%)
CMYKcmyk(0%, 0.4%, 61.2%, 7.1%)
CIE-LABlab(91.13, -17.10, 67.69)
CIE-LCHlch(91.13, 69.82, 104.18°)
OKLaboklab(91.76% -0.0526 0.1541)
OKLCHoklch(91.76% 0.163 108.8)
XYZxyz(66.8544, 78.7700, 21.8056)
Luminance0.7877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC5C #5C5DED
analogous
#EDA45C #EDEC5C #A6ED5C
triadic
#EDEC5C #5CEDEC #EC5CED
tetradic
#EDEC5C #5CEDA4 #5C5DED #ED5CA6
square
#EDEC5C #5CEDA4 #5C5DED #ED5CA6
split-complementary
#EDEC5C #5CA6ED #A45CED
monochromatic
#BAB915 #E7E625 #EDEC5C #F3F293 #F9F9CA

Accessibility & contrast

On white

1.25
#EDEC5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#EDEC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC5C
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC5C#FFFFFF#000000##000000
##EDEC5C1.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE34A
Deuteranopia (green-blind)
#FFE865
Tritanopia (blue-blind)
#FDDECE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #edec5c;
/* rgb */ color: rgb(237, 236, 92);
/* oklch */ color: oklch(91.8% 0.163 108.8);
Tailwind
colors: {
  custom: {
    50: '#f6f190',
    500: '#edec5c',
    950: '#000000',
  },
}
SCSS
$custom: #edec5c;
$custom-light: #f6f190;
$custom-dark: #000000;
JSON
{
  "hex": "#edec5c",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 92
  },
  "hsl": {
    "h": 59.586,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91764,
    "c": 0.16279,
    "h": 108.8
  },
  "luminance": 0.78768
}

Semantic roles & 50–950 ramp

primary
#EDEC5C
secondary
#3435B9
accent
#0BDC09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #EDEC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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