#ECD75A#ECD75A

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

Color values

HEX#ECD75A
RGBrgb(236, 215, 90)
HSLhsl(51, 79%, 64%)
HSVhsv(51, 62%, 93%)
CMYKcmyk(0%, 8.9%, 61.9%, 7.5%)
CIE-LABlab(85.59, -7.22, 62.55)
CIE-LCHlch(85.59, 62.96, 96.59°)
OKLaboklab(87.33% -0.0246 0.1429)
OKLCHoklch(87.33% 0.145 99.8)
XYZxyz(60.7404, 67.1745, 19.4374)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD75A #5A6FEC
analogous
#EC8E5A #ECD75A #B8EC5A
triadic
#ECD75A #5AECD7 #D75AEC
tetradic
#ECD75A #5AEC8E #5A6FEC #EC5AB8
square
#ECD75A #5AEC8E #5A6FEC #EC5AB8
split-complementary
#ECD75A #5AB8EC #8E5AEC
monochromatic
#B79F15 #E6CA23 #ECD75A #F2E491 #F9F2C8

Accessibility & contrast

On white

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

On black

14.43
#ECD75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD75A
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD75A#FFFFFF#000000##000000
##ECD75A1.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14C
Deuteranopia (green-blind)
#F0D961
Tritanopia (blue-blind)
#FDC9BC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd75a;
/* rgb */ color: rgb(236, 215, 90);
/* oklch */ color: oklch(87.3% 0.145 99.8);
Tailwind
colors: {
  custom: {
    50: '#f5e38e',
    500: '#ecd75a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd75a;
$custom-light: #f5e38e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd75a",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 90
  },
  "hsl": {
    "h": 51.37,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.87333,
    "c": 0.14501,
    "h": 99.8
  },
  "luminance": 0.67172
}

Semantic roles & 50–950 ramp

primary
#ECD75A
secondary
#3447B6
accent
#28DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD75A

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

Preview Lab → · Contrast checker → · Palette generator →

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