#EDEB97#EDEB97

#EDEB97 is a very light, moderate yellow. Relative luminance 0.797; OKLCH L 92.3% C 0.105 H 107.1°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#EDEB97
RGBrgb(237, 235, 151)
HSLhsl(59, 70%, 76%)
HSVhsv(59, 36%, 93%)
CMYKcmyk(0%, 0.8%, 36.3%, 7.1%)
CIE-LABlab(91.53, -11.49, 41.03)
CIE-LCHlch(91.53, 42.61, 105.64°)
OKLaboklab(92.3% -0.031 0.1007)
OKLCHoklch(92.3% 0.105 107.1)
XYZxyz(70.2202, 79.6570, 40.9484)
Luminance0.7966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEB97 #9799ED
analogous
#EDC097 #EDEB97 #C4ED97
triadic
#EDEB97 #97EDEB #EB97ED
tetradic
#EDEB97 #97EDC0 #9799ED #ED97C4
square
#EDEB97 #97EDC0 #9799ED #ED97C4
split-complementary
#EDEB97 #97C4ED #C097ED
monochromatic
#DBD72F #E4E163 #EDEB97 #F6F5CB #FAFAE5

Accessibility & contrast

On white

1.24
#EDEB97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.93
#EDEB97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEB97
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEB97#FFFFFF#000000##000000
##EDEB971.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E591
Deuteranopia (green-blind)
#FAE89B
Tritanopia (blue-blind)
#F9E1D6
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #edeb97;
/* rgb */ color: rgb(237, 235, 151);
/* oklch */ color: oklch(92.3% 0.105 107.1);
Tailwind
colors: {
  custom: {
    50: '#f4f1b6',
    500: '#edeb97',
    950: '#000000',
  },
}
SCSS
$custom: #edeb97;
$custom-light: #f4f1b6;
$custom-dark: #000000;
JSON
{
  "hex": "#edeb97",
  "rgb": {
    "r": 237,
    "g": 235,
    "b": 151
  },
  "hsl": {
    "h": 58.605,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92296,
    "c": 0.10536,
    "h": 107.1
  },
  "luminance": 0.79656
}

Semantic roles & 50–950 ramp

primary
#EDEB97
secondary
#5F62C9
accent
#17D313
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EDEB97

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

Preview Lab → · Contrast checker → · Palette generator →

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