#ECD25B#ECD25B

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

Color values

HEX#ECD25B
RGBrgb(236, 210, 91)
HSLhsl(49, 79%, 64%)
HSVhsv(49, 61%, 93%)
CMYKcmyk(0%, 11%, 61.4%, 7.5%)
CIE-LABlab(84.32, -4.62, 60.73)
CIE-LCHlch(84.32, 60.90, 94.35°)
OKLaboklab(86.33% -0.0171 0.1392)
OKLCHoklch(86.33% 0.14 97)
XYZxyz(59.5295, 64.6842, 19.2452)
Luminance0.6468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD25B #5B75EC
analogous
#EC8A5B #ECD25B #BEEC5B
triadic
#ECD25B #5BECD2 #D25BEC
tetradic
#ECD25B #5BEC8A #5B75EC #EC5BBE
square
#ECD25B #5BEC8A #5B75EC #EC5BBE
split-complementary
#ECD25B #5BBEEC #8A5BEC
monochromatic
#B79A15 #E6C324 #ECD25B #F2E192 #F9F0C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD25B#FFFFFF#000000##000000
##ECD25B1.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)
#E5CD4E
Deuteranopia (green-blind)
#ECD661
Tritanopia (blue-blind)
#FDC4B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd25b;
/* rgb */ color: rgb(236, 210, 91);
/* oklch */ color: oklch(86.3% 0.140 97.0);
Tailwind
colors: {
  custom: {
    50: '#f5df8e',
    500: '#ecd25b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd25b;
$custom-light: #f5df8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd25b",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 91
  },
  "hsl": {
    "h": 49.241,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86329,
    "c": 0.14021,
    "h": 97
  },
  "luminance": 0.64681
}

Semantic roles & 50–950 ramp

primary
#ECD25B
secondary
#344CB7
accent
#30DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD25B

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

Preview Lab → · Contrast checker → · Palette generator →

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