#EDEC97#EDEC97

#EDEC97 is a very light, moderate yellow. Relative luminance 0.802; OKLCH L 92.5% C 0.107 H 107.7°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#EDEC97
RGBrgb(237, 236, 151)
HSLhsl(59, 70%, 76%)
HSVhsv(59, 36%, 93%)
CMYKcmyk(0%, 0.4%, 36.3%, 7.1%)
CIE-LABlab(91.79, -11.98, 41.37)
CIE-LCHlch(91.79, 43.07, 106.16°)
OKLaboklab(92.5% -0.0324 0.1015)
OKLCHoklch(92.5% 0.107 107.7)
XYZxyz(70.5073, 80.2312, 41.0441)
Luminance0.8023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC97 #9798ED
analogous
#EDC197 #EDEC97 #C3ED97
triadic
#EDEC97 #97EDEC #EC97ED
tetradic
#EDEC97 #97EDC1 #9798ED #ED97C3
square
#EDEC97 #97EDC1 #9798ED #ED97C3
split-complementary
#EDEC97 #97C3ED #C197ED
monochromatic
#DBD92F #E4E263 #EDEC97 #F6F6CB #FAFAE5

Accessibility & contrast

On white

1.23
#EDEC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.05
#EDEC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC97
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC97#FFFFFF#000000##000000
##EDEC971.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E591
Deuteranopia (green-blind)
#FBE99B
Tritanopia (blue-blind)
#F9E2D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #edec97;
/* rgb */ color: rgb(237, 236, 151);
/* oklch */ color: oklch(92.5% 0.107 107.7);
Tailwind
colors: {
  custom: {
    50: '#f4f2b6',
    500: '#edec97',
    950: '#000000',
  },
}
SCSS
$custom: #edec97;
$custom-light: #f4f2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#edec97",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 151
  },
  "hsl": {
    "h": 59.302,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92501,
    "c": 0.10651,
    "h": 107.7
  },
  "luminance": 0.8023
}

Semantic roles & 50–950 ramp

primary
#EDEC97
secondary
#5F61C9
accent
#15D313
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EDEC97

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

Preview Lab → · Contrast checker → · Palette generator →

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