#EDEC5F#EDEC5F

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

Color values

HEX#EDEC5F
RGBrgb(237, 236, 95)
HSLhsl(60, 80%, 65%)
HSVhsv(60, 60%, 93%)
CMYKcmyk(0%, 0.4%, 59.9%, 7.1%)
CIE-LABlab(91.15, -16.91, 66.49)
CIE-LCHlch(91.15, 68.61, 104.27°)
OKLaboklab(91.79% -0.0517 0.1519)
OKLCHoklch(91.79% 0.16 108.8)
XYZxyz(66.9881, 78.8235, 22.5100)
Luminance0.7882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC5F #5F60ED
analogous
#EDA55F #EDEC5F #A7ED5F
triadic
#EDEC5F #5FEDEC #EC5FED
tetradic
#EDEC5F #5FEDA5 #5F60ED #ED5FA7
square
#EDEC5F #5FEDA5 #5F60ED #ED5FA7
split-complementary
#EDEC5F #5FA7ED #A55FED
monochromatic
#BCBB15 #E7E528 #EDEC5F #F3F396 #F9F9CD

Accessibility & contrast

On white

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

On black

16.76
#EDEC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC5F
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC5F#FFFFFF#000000##000000
##EDEC5F1.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #edec5f;
/* rgb */ color: rgb(237, 236, 95);
/* oklch */ color: oklch(91.8% 0.160 108.8);
Tailwind
colors: {
  custom: {
    50: '#f6f192',
    500: '#edec5f',
    950: '#000000',
  },
}
SCSS
$custom: #edec5f;
$custom-light: #f6f192;
$custom-dark: #000000;
JSON
{
  "hex": "#edec5f",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 59.577,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.91791,
    "c": 0.16048,
    "h": 108.8
  },
  "luminance": 0.78822
}

Semantic roles & 50–950 ramp

primary
#EDEC5F
secondary
#3536BB
accent
#0BDC09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #EDEC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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