#EDC95B#EDC95B

#EDC95B is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.6% C 0.134 H 91.1°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#EDC95B
RGBrgb(237, 201, 91)
HSLhsl(45, 80%, 64%)
HSVhsv(45, 62%, 93%)
CMYKcmyk(0%, 15.2%, 61.6%, 7.1%)
CIE-LABlab(82.13, 0.40, 58.33)
CIE-LCHlch(82.13, 58.33, 89.60°)
OKLaboklab(84.62% -0.0027 0.134)
OKLCHoklch(84.62% 0.134 91.1)
XYZxyz(57.7028, 60.5363, 18.5408)
Luminance0.6053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDC95B #5B7FED
analogous
#ED805B #EDC95B #C8ED5B
triadic
#EDC95B #5BEDC9 #C95BED
tetradic
#EDC95B #5BED80 #5B7FED #ED5BC8
square
#EDC95B #5BED80 #5B7FED #ED5BC8
split-complementary
#EDC95B #5BC8ED #805BED
monochromatic
#B99114 #E7B724 #EDC95B #F3DB92 #F9EDC9

Accessibility & contrast

On white

1.60
#EDC95B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#EDC95B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDC95B
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDC95B#FFFFFF#000000##000000
##EDC95B1.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64F
Deuteranopia (green-blind)
#E6D160
Tritanopia (blue-blind)
#FFBAB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #edc95b;
/* rgb */ color: rgb(237, 201, 91);
/* oklch */ color: oklch(84.6% 0.134 91.1);
Tailwind
colors: {
  custom: {
    50: '#f6d98d',
    500: '#edc95b',
    950: '#000000',
  },
}
SCSS
$custom: #edc95b;
$custom-light: #f6d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#edc95b",
  "rgb": {
    "r": 237,
    "g": 201,
    "b": 91
  },
  "hsl": {
    "h": 45.205,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84618,
    "c": 0.13407,
    "h": 91.1
  },
  "luminance": 0.60533
}

Semantic roles & 50–950 ramp

primary
#EDC95B
secondary
#3454B8
accent
#3DDD09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #EDC95B

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

Preview Lab → · Contrast checker → · Palette generator →

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