#EDEF97#EDEF97

#EDEF97 is a very light, moderate yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.110 H 109.5°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#EDEF97
RGBrgb(237, 239, 151)
HSLhsl(61, 73%, 76%)
HSVhsv(61, 37%, 94%)
CMYKcmyk(0.8%, 0%, 36.8%, 6.3%)
CIE-LABlab(92.56, -13.47, 42.36)
CIE-LCHlch(92.56, 44.45, 107.63°)
OKLaboklab(93.12% -0.0367 0.1037)
OKLCHoklch(93.12% 0.11 109.5)
XYZxyz(71.3782, 81.9732, 41.3344)
Luminance0.8197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEF97 #9997EF
analogous
#EFC597 #EDEF97 #C1EF97
triadic
#EDEF97 #97EDEF #EF97ED
tetradic
#EDEF97 #97EFC5 #9997EF #EF97C1
square
#EDEF97 #97EFC5 #9997EF #EF97C1
split-complementary
#EDEF97 #97C1EF #C597EF
monochromatic
#DBDF2D #E4E762 #EDEF97 #F6F7CC #FAFBE4

Accessibility & contrast

On white

1.21
#EDEF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#EDEF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEF97
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEF97#FFFFFF#000000##000000
##EDEF971.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE890
Deuteranopia (green-blind)
#FDEB9B
Tritanopia (blue-blind)
#F8E5D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #edef97;
/* rgb */ color: rgb(237, 239, 151);
/* oklch */ color: oklch(93.1% 0.110 109.5);
Tailwind
colors: {
  custom: {
    50: '#f4f4b6',
    500: '#edef97',
    950: '#000000',
  },
}
SCSS
$custom: #edef97;
$custom-light: #f4f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#edef97",
  "rgb": {
    "r": 237,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 61.364,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.93116,
    "c": 0.11004,
    "h": 109.5
  },
  "luminance": 0.81972
}

Semantic roles & 50–950 ramp

primary
#EDEF97
secondary
#615FCB
accent
#10D515
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #EDEF97

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

Preview Lab → · Contrast checker → · Palette generator →

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