#ECD25D#ECD25D

#ECD25D is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.3% C 0.139 H 96.8°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#ECD25D
RGBrgb(236, 210, 93)
HSLhsl(49, 79%, 65%)
HSVhsv(49, 61%, 93%)
CMYKcmyk(0%, 11%, 60.6%, 7.5%)
CIE-LABlab(84.34, -4.49, 59.87)
CIE-LCHlch(84.34, 60.04, 94.29°)
OKLaboklab(86.35% -0.0165 0.1376)
OKLCHoklch(86.35% 0.139 96.8)
XYZxyz(59.6170, 64.7191, 19.7056)
Luminance0.6472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD25D #5D77EC
analogous
#EC8B5D #ECD25D #BFEC5D
triadic
#ECD25D #5DECD2 #D25DEC
tetradic
#ECD25D #5DEC8B #5D77EC #EC5DBF
square
#ECD25D #5DEC8B #5D77EC #EC5DBF
split-complementary
#ECD25D #5DBFEC #8B5DEC
monochromatic
#B99B16 #E6C326 #ECD25D #F2E194 #F9F0CB

Accessibility & contrast

On white

1.51
#ECD25D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#ECD25D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD25D
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD25D#FFFFFF#000000##000000
##ECD25D1.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD50
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#FDC4B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd25d;
/* rgb */ color: rgb(236, 210, 93);
/* oklch */ color: oklch(86.3% 0.139 96.8);
Tailwind
colors: {
  custom: {
    50: '#f5df8f',
    500: '#ecd25d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd25d;
$custom-light: #f5df8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd25d",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 93
  },
  "hsl": {
    "h": 49.091,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86349,
    "c": 0.13859,
    "h": 96.8
  },
  "luminance": 0.64716
}

Semantic roles & 50–950 ramp

primary
#ECD25D
secondary
#354DB8
accent
#30DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD25D

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

Preview Lab → · Contrast checker → · Palette generator →

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