#EDEC6F#EDEC6F

#EDEC6F is a very light, vivid yellow. Relative luminance 0.791; OKLCH L 92.0% C 0.147 H 108.6°. Best body text is #000000 at 16.83:1 contrast (WCAG AA passes).

Color values

HEX#EDEC6F
RGBrgb(237, 236, 111)
HSLhsl(60, 78%, 68%)
HSVhsv(60, 53%, 93%)
CMYKcmyk(0%, 0.4%, 53.2%, 7.1%)
CIE-LABlab(91.30, -15.77, 59.75)
CIE-LCHlch(91.30, 61.80, 104.78°)
OKLaboklab(91.95% -0.0468 0.1394)
OKLCHoklch(91.95% 0.147 108.6)
XYZxyz(67.7915, 79.1449, 26.7413)
Luminance0.7914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC6F #6F70ED
analogous
#EDAD6F #EDEC6F #AFED6F
triadic
#EDEC6F #6FEDEC #EC6FED
tetradic
#EDEC6F #6FEDAD #6F70ED #ED6FAF
square
#EDEC6F #6FEDAD #6F70ED #ED6FAF
split-complementary
#EDEC6F #6FAFED #AD6FED
monochromatic
#C9C719 #E6E539 #EDEC6F #F4F3A5 #FBFADC

Accessibility & contrast

On white

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

On black

16.83
#EDEC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC6F
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC6F#FFFFFF#000000##000000
##EDEC6F1.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE463
Deuteranopia (green-blind)
#FFE876
Tritanopia (blue-blind)
#FCDFD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #edec6f;
/* rgb */ color: rgb(237, 236, 111);
/* oklch */ color: oklch(92.0% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#f5f29c',
    500: '#edec6f',
    950: '#000000',
  },
}
SCSS
$custom: #edec6f;
$custom-light: #f5f29c;
$custom-dark: #000000;
JSON
{
  "hex": "#edec6f",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 59.524,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.91953,
    "c": 0.14708,
    "h": 108.6
  },
  "luminance": 0.79143
}

Semantic roles & 50–950 ramp

primary
#EDEC6F
secondary
#3B3CC5
accent
#0DDA0B
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #EDEC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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