#ECD75D#ECD75D

#ECD75D is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.4% C 0.143 H 99.6°. Best body text is #000000 at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#ECD75D
RGBrgb(236, 215, 93)
HSLhsl(51, 79%, 65%)
HSVhsv(51, 61%, 93%)
CMYKcmyk(0%, 8.9%, 60.6%, 7.5%)
CIE-LABlab(85.62, -7.03, 61.28)
CIE-LCHlch(85.62, 61.68, 96.54°)
OKLaboklab(87.36% -0.0237 0.1406)
OKLCHoklch(87.36% 0.143 99.6)
XYZxyz(60.8707, 67.2267, 20.1235)
Luminance0.6722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD75D #5D72EC
analogous
#EC905D #ECD75D #BAEC5D
triadic
#ECD75D #5DECD7 #D75DEC
tetradic
#ECD75D #5DEC90 #5D72EC #EC5DBA
square
#ECD75D #5DEC90 #5D72EC #EC5DBA
split-complementary
#ECD75D #5DBAEC #905DEC
monochromatic
#B9A116 #E6C926 #ECD75D #F2E594 #F9F2CB

Accessibility & contrast

On white

1.45
#ECD75D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.44
#ECD75D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD75D
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD75D#FFFFFF#000000##000000
##ECD75D1.001.4514.4414.44
#FFFFFF1.451.0021.0021.00
#00000014.4421.001.001.00
##00000014.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD250
Deuteranopia (green-blind)
#F0D963
Tritanopia (blue-blind)
#FDC9BD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd75d;
/* rgb */ color: rgb(236, 215, 93);
/* oklch */ color: oklch(87.4% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#f5e38f',
    500: '#ecd75d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd75d;
$custom-light: #f5e38f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd75d",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 93
  },
  "hsl": {
    "h": 51.189,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87363,
    "c": 0.14261,
    "h": 99.6
  },
  "luminance": 0.67224
}

Semantic roles & 50–950 ramp

primary
#ECD75D
secondary
#3548B8
accent
#29DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD75D

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

Preview Lab → · Contrast checker → · Palette generator →

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