#EDE77F#EDE77F

#EDE77F is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 91.1% C 0.127 H 105.7°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#EDE77F
RGBrgb(237, 231, 127)
HSLhsl(57, 75%, 71%)
HSVhsv(57, 46%, 93%)
CMYKcmyk(0%, 2.5%, 46.4%, 7.1%)
CIE-LABlab(90.18, -11.94, 51.03)
CIE-LCHlch(90.18, 52.41, 103.17°)
OKLaboklab(91.12% -0.0343 0.1219)
OKLCHoklch(91.12% 0.127 105.7)
XYZxyz(67.3333, 76.6905, 31.3304)
Luminance0.7669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE77F #7F85ED
analogous
#EDB07F #EDE77F #BCED7F
triadic
#EDE77F #7FEDE7 #E77FED
tetradic
#EDE77F #7FEDB0 #7F85ED #ED7FBC
square
#EDE77F #7FEDB0 #7F85ED #ED7FBC
split-complementary
#EDE77F #7FBCED #B07FED
monochromatic
#D4CA1E #E5DD49 #EDE77F #F5F1B5 #FBFAE4

Accessibility & contrast

On white

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

On black

16.34
#EDE77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE77F
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE77F#FFFFFF#000000##000000
##EDE77F1.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E076
Deuteranopia (green-blind)
#F9E584
Tritanopia (blue-blind)
#FBDBCF
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ede77f;
/* rgb */ color: rgb(237, 231, 127);
/* oklch */ color: oklch(91.1% 0.127 105.7);
Tailwind
colors: {
  custom: {
    50: '#f5eea6',
    500: '#ede77f',
    950: '#000000',
  },
}
SCSS
$custom: #ede77f;
$custom-light: #f5eea6;
$custom-dark: #000000;
JSON
{
  "hex": "#ede77f",
  "rgb": {
    "r": 237,
    "g": 231,
    "b": 127
  },
  "hsl": {
    "h": 56.727,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91118,
    "c": 0.12658,
    "h": 105.7
  },
  "luminance": 0.76689
}

Semantic roles & 50–950 ramp

primary
#EDE77F
secondary
#4950C7
accent
#19D80E
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #EDE77F

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

Preview Lab → · Contrast checker → · Palette generator →

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