#EDE17A#EDE17A

#EDE17A is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.8% C 0.125 H 102.7°. Best body text is #000000 at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#EDE17A
RGBrgb(237, 225, 122)
HSLhsl(54, 76%, 70%)
HSVhsv(54, 49%, 93%)
CMYKcmyk(0%, 5.1%, 48.5%, 7.1%)
CIE-LABlab(88.57, -9.41, 51.46)
CIE-LCHlch(88.57, 52.31, 100.36°)
OKLaboklab(89.82% -0.0275 0.1224)
OKLCHoklch(89.82% 0.125 102.7)
XYZxyz(65.3649, 73.2622, 29.1064)
Luminance0.7326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE17A #7A86ED
analogous
#EDA77A #EDE17A #BFED7A
triadic
#EDE17A #7AEDE1 #E17AED
tetradic
#EDE17A #7AEDA7 #7A86ED #ED7ABF
square
#EDE17A #7AEDA7 #7A86ED #ED7ABF
split-complementary
#EDE17A #7ABFED #A77AED
monochromatic
#D0BE1C #E6D544 #EDE17A #F4EDB0 #FBF9E4

Accessibility & contrast

On white

1.34
#EDE17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.65
#EDE17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE17A
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE17A#FFFFFF#000000##000000
##EDE17A1.001.3415.6515.65
#FFFFFF1.341.0021.0021.00
#00000015.6521.001.001.00
##00000015.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DB71
Deuteranopia (green-blind)
#F5E17F
Tritanopia (blue-blind)
#FCD5C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ede17a;
/* rgb */ color: rgb(237, 225, 122);
/* oklch */ color: oklch(89.8% 0.125 102.7);
Tailwind
colors: {
  custom: {
    50: '#f5eaa2',
    500: '#ede17a',
    950: '#000000',
  },
}
SCSS
$custom: #ede17a;
$custom-light: #f5eaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#ede17a",
  "rgb": {
    "r": 237,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 53.739,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89823,
    "c": 0.12546,
    "h": 102.7
  },
  "luminance": 0.7326
}

Semantic roles & 50–950 ramp

primary
#EDE17A
secondary
#4552C6
accent
#22D80D
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EDE17A

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

Preview Lab → · Contrast checker → · Palette generator →

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