#EDD95F#EDD95F

#EDD95F is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.9% C 0.143 H 100.1°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#EDD95F
RGBrgb(237, 217, 95)
HSLhsl(52, 80%, 65%)
HSVhsv(52, 60%, 93%)
CMYKcmyk(0%, 8.4%, 59.9%, 7.1%)
CIE-LABlab(86.24, -7.49, 61.11)
CIE-LCHlch(86.24, 61.57, 96.99°)
OKLaboklab(87.88% -0.0249 0.1405)
OKLCHoklch(87.88% 0.143 100.1)
XYZxyz(61.8059, 68.4590, 20.7826)
Luminance0.6846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD95F #5F73ED
analogous
#ED925F #EDD95F #BAED5F
triadic
#EDD95F #5FEDD9 #D95FED
tetradic
#EDD95F #5FED92 #5F73ED #ED5FBA
square
#EDD95F #5FED92 #5F73ED #ED5FBA
split-complementary
#EDD95F #5FBAED #925FED
monochromatic
#BCA515 #E7CC28 #EDD95F #F3E696 #F9F3CD

Accessibility & contrast

On white

1.43
#EDD95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#EDD95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD95F
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD95F#FFFFFF#000000##000000
##EDD95F1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD352
Deuteranopia (green-blind)
#F1DB65
Tritanopia (blue-blind)
#FECBBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd95f;
/* rgb */ color: rgb(237, 217, 95);
/* oklch */ color: oklch(87.9% 0.143 100.1);
Tailwind
colors: {
  custom: {
    50: '#f6e491',
    500: '#edd95f',
    950: '#000000',
  },
}
SCSS
$custom: #edd95f;
$custom-light: #f6e491;
$custom-dark: #000000;
JSON
{
  "hex": "#edd95f",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 51.549,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.87878,
    "c": 0.14269,
    "h": 100.1
  },
  "luminance": 0.68456
}

Semantic roles & 50–950 ramp

primary
#EDD95F
secondary
#3548BB
accent
#27DC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EDD95F

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

Preview Lab → · Contrast checker → · Palette generator →

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