#EDD97F#EDD97F

#EDD97F is a very light, moderate yellow. Relative luminance 0.692; OKLCH L 88.3% C 0.113 H 97.2°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#EDD97F
RGBrgb(237, 217, 127)
HSLhsl(49, 75%, 71%)
HSVhsv(49, 46%, 93%)
CMYKcmyk(0%, 8.4%, 46.4%, 7.1%)
CIE-LABlab(86.59, -4.92, 46.62)
CIE-LCHlch(86.59, 46.88, 96.02°)
OKLaboklab(88.27% -0.0141 0.1121)
OKLCHoklch(88.27% 0.113 97.2)
XYZxyz(63.5705, 69.1649, 30.0761)
Luminance0.6916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD97F #7F93ED
analogous
#EDA27F #EDD97F #CAED7F
triadic
#EDD97F #7FEDD9 #D97FED
tetradic
#EDD97F #7FEDA2 #7F93ED #ED7FCA
square
#EDD97F #7FEDA2 #7F93ED #ED7FCA
split-complementary
#EDD97F #7FCAED #A27FED
monochromatic
#D4B31E #E5C949 #EDD97F #F5E9B5 #FBF7E4

Accessibility & contrast

On white

1.42
#EDD97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#EDD97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD97F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD97F#FFFFFF#000000##000000
##EDD97F1.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D578
Deuteranopia (green-blind)
#EFDC83
Tritanopia (blue-blind)
#FCCDC3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #edd97f;
/* rgb */ color: rgb(237, 217, 127);
/* oklch */ color: oklch(88.3% 0.113 97.2);
Tailwind
colors: {
  custom: {
    50: '#f5e4a6',
    500: '#edd97f',
    950: '#000000',
  },
}
SCSS
$custom: #edd97f;
$custom-light: #f5e4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#edd97f",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 127
  },
  "hsl": {
    "h": 49.091,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88269,
    "c": 0.11294,
    "h": 97.2
  },
  "luminance": 0.69163
}

Semantic roles & 50–950 ramp

primary
#EDD97F
secondary
#4960C7
accent
#33D80E
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #EDD97F

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

Preview Lab → · Contrast checker → · Palette generator →

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