#ECD25A#ECD25A

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

Color values

HEX#ECD25A
RGBrgb(236, 210, 90)
HSLhsl(49, 79%, 64%)
HSVhsv(49, 62%, 93%)
CMYKcmyk(0%, 11%, 61.9%, 7.5%)
CIE-LABlab(84.31, -4.69, 61.15)
CIE-LCHlch(84.31, 61.33, 94.38°)
OKLaboklab(86.32% -0.0174 0.1399)
OKLCHoklch(86.32% 0.141 97.1)
XYZxyz(59.4867, 64.6670, 19.0195)
Luminance0.6466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD25A #5A74EC
analogous
#EC895A #ECD25A #BDEC5A
triadic
#ECD25A #5AECD2 #D25AEC
tetradic
#ECD25A #5AEC89 #5A74EC #EC5ABD
square
#ECD25A #5AEC89 #5A74EC #EC5ABD
split-complementary
#ECD25A #5ABDEC #895AEC
monochromatic
#B79A15 #E6C323 #ECD25A #F2E191 #F9F0C8

Accessibility & contrast

On white

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

On black

13.93
#ECD25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD25A
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD25A#FFFFFF#000000##000000
##ECD25A1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4D
Deuteranopia (green-blind)
#ECD660
Tritanopia (blue-blind)
#FDC4B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd25a;
/* rgb */ color: rgb(236, 210, 90);
/* oklch */ color: oklch(86.3% 0.141 97.1);
Tailwind
colors: {
  custom: {
    50: '#f5df8d',
    500: '#ecd25a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd25a;
$custom-light: #f5df8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd25a",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 90
  },
  "hsl": {
    "h": 49.315,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86319,
    "c": 0.14102,
    "h": 97.1
  },
  "luminance": 0.64664
}

Semantic roles & 50–950 ramp

primary
#ECD25A
secondary
#344BB6
accent
#2FDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD25A

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

Preview Lab → · Contrast checker → · Palette generator →

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