#EDEC5B#EDEC5B

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

Color values

HEX#EDEC5B
RGBrgb(237, 236, 91)
HSLhsl(60, 80%, 64%)
HSVhsv(60, 62%, 93%)
CMYKcmyk(0%, 0.4%, 61.6%, 7.1%)
CIE-LABlab(91.12, -17.16, 68.09)
CIE-LCHlch(91.12, 70.22, 104.15°)
OKLaboklab(91.76% -0.0528 0.1548)
OKLCHoklch(91.76% 0.164 108.9)
XYZxyz(66.8110, 78.7527, 21.5769)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC5B #5B5CED
analogous
#EDA35B #EDEC5B #A5ED5B
triadic
#EDEC5B #5BEDEC #EC5BED
tetradic
#EDEC5B #5BEDA3 #5B5CED #ED5BA5
square
#EDEC5B #5BEDA3 #5B5CED #ED5BA5
split-complementary
#EDEC5B #5BA5ED #A35BED
monochromatic
#B9B814 #E7E624 #EDEC5B #F3F292 #F9F9C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDEC5B#FFFFFF#000000##000000
##EDEC5B1.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)
#FEE349
Deuteranopia (green-blind)
#FFE864
Tritanopia (blue-blind)
#FDDECE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #edec5b;
/* rgb */ color: rgb(237, 236, 91);
/* oklch */ color: oklch(91.8% 0.164 108.9);
Tailwind
colors: {
  custom: {
    50: '#f6f190',
    500: '#edec5b',
    950: '#000000',
  },
}
SCSS
$custom: #edec5b;
$custom-light: #f6f190;
$custom-dark: #000000;
JSON
{
  "hex": "#edec5b",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 59.589,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.91755,
    "c": 0.16354,
    "h": 108.9
  },
  "luminance": 0.78751
}

Semantic roles & 50–950 ramp

primary
#EDEC5B
secondary
#3435B8
accent
#0ADD09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #EDEC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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