#EDE97F#EDE97F

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

Color values

HEX#EDE97F
RGBrgb(237, 233, 127)
HSLhsl(58, 75%, 71%)
HSVhsv(58, 46%, 93%)
CMYKcmyk(0%, 1.7%, 46.4%, 7.1%)
CIE-LABlab(90.70, -12.93, 51.66)
CIE-LCHlch(90.70, 53.25, 104.06°)
OKLaboklab(91.53% -0.0371 0.1232)
OKLCHoklch(91.53% 0.129 106.8)
XYZxyz(67.8962, 77.8164, 31.5180)
Luminance0.7782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE97F #7F83ED
analogous
#EDB27F #EDE97F #BAED7F
triadic
#EDE97F #7FEDE9 #E97FED
tetradic
#EDE97F #7FEDB2 #7F83ED #ED7FBA
square
#EDE97F #7FEDB2 #7F83ED #ED7FBA
split-complementary
#EDE97F #7FBAED #B27FED
monochromatic
#D4CD1E #E5E049 #EDE97F #F5F2B5 #FBFAE4

Accessibility & contrast

On white

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

On black

16.56
#EDE97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE97F
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE97F#FFFFFF#000000##000000
##EDE97F1.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ede97f;
/* rgb */ color: rgb(237, 233, 127);
/* oklch */ color: oklch(91.5% 0.129 106.8);
Tailwind
colors: {
  custom: {
    50: '#f5efa6',
    500: '#ede97f',
    950: '#000000',
  },
}
SCSS
$custom: #ede97f;
$custom-light: #f5efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ede97f",
  "rgb": {
    "r": 237,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 57.818,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91529,
    "c": 0.12871,
    "h": 106.8
  },
  "luminance": 0.77815
}

Semantic roles & 50–950 ramp

primary
#EDE97F
secondary
#494EC7
accent
#15D80E
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EDE97F

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

Preview Lab → · Contrast checker → · Palette generator →

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