#EDD85B#EDD85B

#EDD85B is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.6% C 0.145 H 99.8°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#EDD85B
RGBrgb(237, 216, 91)
HSLhsl(51, 80%, 64%)
HSVhsv(51, 62%, 93%)
CMYKcmyk(0%, 8.9%, 61.6%, 7.1%)
CIE-LABlab(85.94, -7.25, 62.52)
CIE-LCHlch(85.94, 62.94, 96.61°)
OKLaboklab(87.64% -0.0247 0.143)
OKLCHoklch(87.64% 0.145 99.8)
XYZxyz(61.3717, 67.8742, 19.7638)
Luminance0.6787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDD85B #5B70ED
analogous
#ED8F5B #EDD85B #B9ED5B
triadic
#EDD85B #5BEDD8 #D85BED
tetradic
#EDD85B #5BED8F #5B70ED #ED5BB9
square
#EDD85B #5BED8F #5B70ED #ED5BB9
split-complementary
#EDD85B #5BB9ED #8F5BED
monochromatic
#B9A214 #E7CB24 #EDD85B #F3E592 #F9F2C9

Accessibility & contrast

On white

1.44
#EDD85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#EDD85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDD85B
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDD85B#FFFFFF#000000##000000
##EDD85B1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24D
Deuteranopia (green-blind)
#F1DA62
Tritanopia (blue-blind)
#FECABD
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #edd85b;
/* rgb */ color: rgb(237, 216, 91);
/* oklch */ color: oklch(87.6% 0.145 99.8);
Tailwind
colors: {
  custom: {
    50: '#f6e38e',
    500: '#edd85b',
    950: '#000000',
  },
}
SCSS
$custom: #edd85b;
$custom-light: #f6e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#edd85b",
  "rgb": {
    "r": 237,
    "g": 216,
    "b": 91
  },
  "hsl": {
    "h": 51.37,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87635,
    "c": 0.14508,
    "h": 99.8
  },
  "luminance": 0.67872
}

Semantic roles & 50–950 ramp

primary
#EDD85B
secondary
#3447B8
accent
#27DD09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #EDD85B

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

Preview Lab → · Contrast checker → · Palette generator →

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