#EDE997#EDE997

#EDE997 is a very light, moderate yellow. Relative luminance 0.785; OKLCH L 91.9% C 0.103 H 105.9°. Best body text is #000000 at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#EDE997
RGBrgb(237, 233, 151)
HSLhsl(57, 70%, 76%)
HSVhsv(57, 36%, 93%)
CMYKcmyk(0%, 1.7%, 36.3%, 7.1%)
CIE-LABlab(91.02, -10.49, 40.37)
CIE-LCHlch(91.02, 41.71, 104.57°)
OKLaboklab(91.89% -0.0282 0.0992)
OKLCHoklch(91.89% 0.103 105.9)
XYZxyz(69.6508, 78.5182, 40.7586)
Luminance0.7852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE997 #979BED
analogous
#EDBE97 #EDE997 #C6ED97
triadic
#EDE997 #97EDE9 #E997ED
tetradic
#EDE997 #97EDBE #979BED #ED97C6
square
#EDE997 #97EDBE #979BED #ED97C6
split-complementary
#EDE997 #97C6ED #BE97ED
monochromatic
#DBD32F #E4DE63 #EDE997 #F6F4CB #FAF9E5

Accessibility & contrast

On white

1.26
#EDE997 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.70
#EDE997 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE997
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE997#FFFFFF#000000##000000
##EDE9971.001.2616.7016.70
#FFFFFF1.261.0021.0021.00
#00000016.7021.001.001.00
##00000016.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E391
Deuteranopia (green-blind)
#F8E79A
Tritanopia (blue-blind)
#F9DFD4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #ede997;
/* rgb */ color: rgb(237, 233, 151);
/* oklch */ color: oklch(91.9% 0.103 105.9);
Tailwind
colors: {
  custom: {
    50: '#f4efb6',
    500: '#ede997',
    950: '#000000',
  },
}
SCSS
$custom: #ede997;
$custom-light: #f4efb6;
$custom-dark: #000000;
JSON
{
  "hex": "#ede997",
  "rgb": {
    "r": 237,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 57.209,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.91887,
    "c": 0.10308,
    "h": 105.9
  },
  "luminance": 0.78517
}

Semantic roles & 50–950 ramp

primary
#EDE997
secondary
#5F64C9
accent
#1CD313
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EDE997

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

Preview Lab → · Contrast checker → · Palette generator →

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