#EDE797#EDE797

#EDE797 is a very light, moderate yellow. Relative luminance 0.774; OKLCH L 91.5% C 0.101 H 104.5°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#EDE797
RGBrgb(237, 231, 151)
HSLhsl(56, 70%, 76%)
HSVhsv(56, 36%, 93%)
CMYKcmyk(0%, 2.5%, 36.3%, 7.1%)
CIE-LABlab(90.50, -9.50, 39.71)
CIE-LCHlch(90.50, 40.83, 103.45°)
OKLaboklab(91.48% -0.0253 0.0976)
OKLCHoklch(91.48% 0.101 104.5)
XYZxyz(69.0878, 77.3923, 40.5710)
Luminance0.7739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE797 #979DED
analogous
#EDBC97 #EDE797 #C8ED97
triadic
#EDE797 #97EDE7 #E797ED
tetradic
#EDE797 #97EDBC #979DED #ED97C8
square
#EDE797 #97EDBC #979DED #ED97C8
split-complementary
#EDE797 #97C8ED #BC97ED
monochromatic
#DBCF2F #E4DB63 #EDE797 #F6F3CB #FAF9E5

Accessibility & contrast

On white

1.27
#EDE797 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#EDE797 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE797
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE797#FFFFFF#000000##000000
##EDE7971.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E191
Deuteranopia (green-blind)
#F7E69A
Tritanopia (blue-blind)
#F9DDD3
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ede797;
/* rgb */ color: rgb(237, 231, 151);
/* oklch */ color: oklch(91.5% 0.101 104.5);
Tailwind
colors: {
  custom: {
    50: '#f4eeb6',
    500: '#ede797',
    950: '#000000',
  },
}
SCSS
$custom: #ede797;
$custom-light: #f4eeb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ede797",
  "rgb": {
    "r": 237,
    "g": 231,
    "b": 151
  },
  "hsl": {
    "h": 55.814,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.9148,
    "c": 0.10085,
    "h": 104.5
  },
  "luminance": 0.77391
}

Semantic roles & 50–950 ramp

primary
#EDE797
secondary
#5F67C9
accent
#20D313
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EDE797

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

Preview Lab → · Contrast checker → · Palette generator →

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