#ECD975#ECD975

#ECD975 is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 88.0% C 0.123 H 98.8°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#ECD975
RGBrgb(236, 217, 117)
HSLhsl(50, 76%, 69%)
HSVhsv(50, 50%, 93%)
CMYKcmyk(0%, 8.1%, 50.4%, 7.5%)
CIE-LABlab(86.38, -6.22, 51.18)
CIE-LCHlch(86.38, 51.55, 96.93°)
OKLaboklab(88.04% -0.0188 0.1214)
OKLCHoklch(88.04% 0.123 98.8)
XYZxyz(62.6178, 68.7453, 26.7969)
Luminance0.6874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD975 #7588EC
analogous
#EC9E75 #ECD975 #C4EC75
triadic
#ECD975 #75ECD9 #D975EC
tetradic
#ECD975 #75EC9E #7588EC #EC75C4
square
#ECD975 #75EC9E #7588EC #EC75C4
split-complementary
#ECD975 #75C4EC #9E75EC
monochromatic
#CBAF1C #E5CA3F #ECD975 #F3E8AB #FBF7E1

Accessibility & contrast

On white

1.42
#ECD975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.75
#ECD975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD975
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD975#FFFFFF#000000##000000
##ECD9751.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46C
Deuteranopia (green-blind)
#EFDB79
Tritanopia (blue-blind)
#FBCCC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd975;
/* rgb */ color: rgb(236, 217, 117);
/* oklch */ color: oklch(88.0% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#f4e49f',
    500: '#ecd975',
    950: '#000000',
  },
}
SCSS
$custom: #ecd975;
$custom-light: #f4e49f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd975",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 50.42,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.88044,
    "c": 0.12284,
    "h": 98.8
  },
  "luminance": 0.68743
}

Semantic roles & 50–950 ramp

primary
#ECD975
secondary
#4156C5
accent
#2ED80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD975

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

Preview Lab → · Contrast checker → · Palette generator →

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