#EDE97D#EDE97D

#EDE97D is a very light, vivid yellow. Relative luminance 0.778; OKLCH L 91.5% C 0.131 H 106.8°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#EDE97D
RGBrgb(237, 233, 125)
HSLhsl(58, 76%, 71%)
HSVhsv(58, 47%, 93%)
CMYKcmyk(0%, 1.7%, 47.3%, 7.1%)
CIE-LABlab(90.67, -13.11, 52.58)
CIE-LCHlch(90.67, 54.19, 104.01°)
OKLaboklab(91.5% -0.0378 0.1251)
OKLCHoklch(91.5% 0.131 106.8)
XYZxyz(67.7672, 77.7648, 30.8384)
Luminance0.7776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE97D #7D81ED
analogous
#EDB17D #EDE97D #B9ED7D
triadic
#EDE97D #7DEDE9 #E97DED
tetradic
#EDE97D #7DEDB1 #7D81ED #ED7DB9
square
#EDE97D #7DEDB1 #7D81ED #ED7DB9
split-complementary
#EDE97D #7DB9ED #B17DED
monochromatic
#D2CC1D #E6E047 #EDE97D #F4F2B3 #FBFAE4

Accessibility & contrast

On white

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

On black

16.55
#EDE97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE97D
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE97D#FFFFFF#000000##000000
##EDE97D1.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E274
Deuteranopia (green-blind)
#FBE682
Tritanopia (blue-blind)
#FBDDD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ede97d;
/* rgb */ color: rgb(237, 233, 125);
/* oklch */ color: oklch(91.5% 0.131 106.8);
Tailwind
colors: {
  custom: {
    50: '#f5efa5',
    500: '#ede97d',
    950: '#000000',
  },
}
SCSS
$custom: #ede97d;
$custom-light: #f5efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ede97d",
  "rgb": {
    "r": 237,
    "g": 233,
    "b": 125
  },
  "hsl": {
    "h": 57.857,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91503,
    "c": 0.1307,
    "h": 106.8
  },
  "luminance": 0.77763
}

Semantic roles & 50–950 ramp

primary
#EDE97D
secondary
#484CC7
accent
#15D80E
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EDE97D

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

Preview Lab → · Contrast checker → · Palette generator →

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