#EDE76F#EDE76F

#EDE76F is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 90.9% C 0.142 H 106.3°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#EDE76F
RGBrgb(237, 231, 111)
HSLhsl(57, 78%, 68%)
HSVhsv(57, 53%, 93%)
CMYKcmyk(0%, 2.5%, 53.2%, 7.1%)
CIE-LABlab(90.00, -13.31, 58.26)
CIE-LCHlch(90.00, 59.76, 102.87°)
OKLaboklab(90.92% -0.0398 0.1362)
OKLCHoklch(90.92% 0.142 106.3)
XYZxyz(66.3721, 76.3060, 26.2681)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE76F #6F75ED
analogous
#EDA86F #EDE76F #B4ED6F
triadic
#EDE76F #6FEDE7 #E76FED
tetradic
#EDE76F #6FEDA8 #6F75ED #ED6FB4
square
#EDE76F #6FEDA8 #6F75ED #ED6FB4
split-complementary
#EDE76F #6FB4ED #A86FED
monochromatic
#C9C019 #E6DE39 #EDE76F #F4F0A5 #FBF9DC

Accessibility & contrast

On white

1.29
#EDE76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#EDE76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE76F
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE76F#FFFFFF#000000##000000
##EDE76F1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF63
Deuteranopia (green-blind)
#FBE575
Tritanopia (blue-blind)
#FCDACC
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ede76f;
/* rgb */ color: rgb(237, 231, 111);
/* oklch */ color: oklch(90.9% 0.142 106.3);
Tailwind
colors: {
  custom: {
    50: '#f5ee9c',
    500: '#ede76f',
    950: '#000000',
  },
}
SCSS
$custom: #ede76f;
$custom-light: #f5ee9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ede76f",
  "rgb": {
    "r": 237,
    "g": 231,
    "b": 111
  },
  "hsl": {
    "h": 57.143,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.90919,
    "c": 0.14192,
    "h": 106.3
  },
  "luminance": 0.76304
}

Semantic roles & 50–950 ramp

primary
#EDE76F
secondary
#3B42C5
accent
#15DA0B
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #EDE76F

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

Preview Lab → · Contrast checker → · Palette generator →

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