#EDD958#EDD958

#EDD958 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.8% C 0.148 H 100.5°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#EDD958
RGBrgb(237, 217, 88)
HSLhsl(52, 81%, 64%)
HSVhsv(52, 63%, 93%)
CMYKcmyk(0%, 8.4%, 62.9%, 7.1%)
CIE-LABlab(86.17, -7.94, 64.05)
CIE-LCHlch(86.17, 64.54, 97.07°)
OKLaboklab(87.81% -0.027 0.1458)
OKLCHoklch(87.81% 0.148 100.5)
XYZxyz(61.5019, 68.3374, 19.1815)
Luminance0.6834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD958 #586CED
analogous
#ED8E58 #EDD958 #B6ED58
triadic
#EDD958 #58EDD9 #D958ED
tetradic
#EDD958 #58ED8E #586CED #ED58B6
square
#EDD958 #58ED8E #586CED #ED58B6
split-complementary
#EDD958 #58B6ED #8E58ED
monochromatic
#B7A114 #E7CC21 #EDD958 #F3E68F #F9F2C6

Accessibility & contrast

On white

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

On black

14.67
#EDD958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD958
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD958#FFFFFF#000000##000000
##EDD9581.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD349
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#FECABE
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #edd958;
/* rgb */ color: rgb(237, 217, 88);
/* oklch */ color: oklch(87.8% 0.148 100.5);
Tailwind
colors: {
  custom: {
    50: '#f6e48c',
    500: '#edd958',
    950: '#000000',
  },
}
SCSS
$custom: #edd958;
$custom-light: #f6e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#edd958",
  "rgb": {
    "r": 237,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 51.946,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.87811,
    "c": 0.14826,
    "h": 100.5
  },
  "luminance": 0.68335
}

Semantic roles & 50–950 ramp

primary
#EDD958
secondary
#3345B6
accent
#25DD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #EDD958

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

Preview Lab → · Contrast checker → · Palette generator →

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