#EDE371#EDE371

#EDE371 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 90.1% C 0.136 H 104.2°. Best body text is #000000 at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#EDE371
RGBrgb(237, 227, 113)
HSLhsl(55, 78%, 69%)
HSVhsv(55, 52%, 93%)
CMYKcmyk(0%, 4.2%, 52.3%, 7.1%)
CIE-LABlab(88.99, -11.17, 56.16)
CIE-LCHlch(88.99, 57.26, 101.24°)
OKLaboklab(90.12% -0.0335 0.1319)
OKLCHoklch(90.12% 0.136 104.2)
XYZxyz(65.3767, 74.1370, 26.4857)
Luminance0.7413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE371 #717BED
analogous
#EDA571 #EDE371 #B9ED71
triadic
#EDE371 #71EDE3 #E371ED
tetradic
#EDE371 #71EDA5 #717BED #ED71B9
square
#EDE371 #71EDA5 #717BED #ED71B9
split-complementary
#EDE371 #71B9ED #A571ED
monochromatic
#CABC1A #E6D83B #EDE371 #F4EEA7 #FBF8DE

Accessibility & contrast

On white

1.33
#EDE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.83
#EDE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE371
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE371#FFFFFF#000000##000000
##EDE3711.001.3315.8315.83
#FFFFFF1.331.0021.0021.00
#00000015.8321.001.001.00
##00000015.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC66
Deuteranopia (green-blind)
#F8E277
Tritanopia (blue-blind)
#FCD6C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ede371;
/* rgb */ color: rgb(237, 227, 113);
/* oklch */ color: oklch(90.1% 0.136 104.2);
Tailwind
colors: {
  custom: {
    50: '#f5eb9d',
    500: '#ede371',
    950: '#000000',
  },
}
SCSS
$custom: #ede371;
$custom-light: #f5eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ede371",
  "rgb": {
    "r": 237,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 55.161,
    "s": 77.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.9012,
    "c": 0.13607,
    "h": 104.2
  },
  "luminance": 0.74135
}

Semantic roles & 50–950 ramp

primary
#EDE371
secondary
#3D48C5
accent
#1CDA0C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EDE371

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

Preview Lab → · Contrast checker → · Palette generator →

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