#EDE97E#EDE97E

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

Color values

HEX#EDE97E
RGBrgb(237, 233, 126)
HSLhsl(58, 76%, 71%)
HSVhsv(58, 47%, 93%)
CMYKcmyk(0%, 1.7%, 46.8%, 7.1%)
CIE-LABlab(90.68, -13.02, 52.12)
CIE-LCHlch(90.68, 53.72, 104.03°)
OKLaboklab(91.52% -0.0375 0.1242)
OKLCHoklch(91.52% 0.13 106.8)
XYZxyz(67.8314, 77.7905, 31.1765)
Luminance0.7779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE97E #7E82ED
analogous
#EDB17E #EDE97E #B9ED7E
triadic
#EDE97E #7EEDE9 #E97EED
tetradic
#EDE97E #7EEDB1 #7E82ED #ED7EB9
square
#EDE97E #7EEDB1 #7E82ED #ED7EB9
split-complementary
#EDE97E #7EB9ED #B17EED
monochromatic
#D3CD1D #E6E048 #EDE97E #F4F2B4 #FBFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EDE97E#FFFFFF#000000##000000
##EDE97E1.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)
#F9E275
Deuteranopia (green-blind)
#FBE683
Tritanopia (blue-blind)
#FBDDD0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #ede97e;
/* rgb */ color: rgb(237, 233, 126);
/* oklch */ color: oklch(91.5% 0.130 106.8);
Tailwind
colors: {
  custom: {
    50: '#f5efa5',
    500: '#ede97e',
    950: '#000000',
  },
}
SCSS
$custom: #ede97e;
$custom-light: #f5efa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ede97e",
  "rgb": {
    "r": 237,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 57.838,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.91516,
    "c": 0.1297,
    "h": 106.8
  },
  "luminance": 0.77789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EDE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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