#EDE07F#EDE07F

#EDE07F is a very light, moderate yellow. Relative luminance 0.728; OKLCH L 89.7% C 0.119 H 101.7°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#EDE07F
RGBrgb(237, 224, 127)
HSLhsl(53, 75%, 71%)
HSVhsv(53, 46%, 93%)
CMYKcmyk(0%, 5.5%, 46.4%, 7.1%)
CIE-LABlab(88.38, -8.45, 48.83)
CIE-LCHlch(88.38, 49.55, 99.82°)
OKLaboklab(89.69% -0.0242 0.117)
OKLCHoklch(89.69% 0.119 101.7)
XYZxyz(65.4131, 72.8502, 30.6903)
Luminance0.7285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDE07F #7F8CED
analogous
#EDA97F #EDE07F #C3ED7F
triadic
#EDE07F #7FEDE0 #E07FED
tetradic
#EDE07F #7FEDA9 #7F8CED #ED7FC3
square
#EDE07F #7FEDA9 #7F8CED #ED7FC3
split-complementary
#EDE07F #7FC3ED #A97FED
monochromatic
#D4BE1E #E5D349 #EDE07F #F5EDB5 #FBF9E4

Accessibility & contrast

On white

1.35
#EDE07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.57
#EDE07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDE07F
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDE07F#FFFFFF#000000##000000
##EDE07F1.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA77
Deuteranopia (green-blind)
#F4E083
Tritanopia (blue-blind)
#FBD4C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #ede07f;
/* rgb */ color: rgb(237, 224, 127);
/* oklch */ color: oklch(89.7% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#f5e9a6',
    500: '#ede07f',
    950: '#000000',
  },
}
SCSS
$custom: #ede07f;
$custom-light: #f5e9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ede07f",
  "rgb": {
    "r": 237,
    "g": 224,
    "b": 127
  },
  "hsl": {
    "h": 52.909,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89687,
    "c": 0.11946,
    "h": 101.7
  },
  "luminance": 0.72848
}

Semantic roles & 50–950 ramp

primary
#EDE07F
secondary
#4958C7
accent
#26D80E
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #EDE07F

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

Preview Lab → · Contrast checker → · Palette generator →

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