#ECD25E#ECD25E

#ECD25E is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.4% C 0.138 H 96.7°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#ECD25E
RGBrgb(236, 210, 94)
HSLhsl(49, 79%, 65%)
HSVhsv(49, 60%, 93%)
CMYKcmyk(0%, 11%, 60.2%, 7.5%)
CIE-LABlab(84.35, -4.42, 59.44)
CIE-LCHlch(84.35, 59.60, 94.26°)
OKLaboklab(86.36% -0.0162 0.1368)
OKLCHoklch(86.36% 0.138 96.7)
XYZxyz(59.6615, 64.7370, 19.9404)
Luminance0.6473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD25E #5E78EC
analogous
#EC8B5E #ECD25E #BFEC5E
triadic
#ECD25E #5EECD2 #D25EEC
tetradic
#ECD25E #5EEC8B #5E78EC #EC5EBF
square
#ECD25E #5EEC8B #5E78EC #EC5EBF
split-complementary
#ECD25E #5EBFEC #8B5EEC
monochromatic
#BA9C16 #E6C327 #ECD25E #F2E195 #F9F1CB

Accessibility & contrast

On white

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

On black

13.95
#ECD25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD25E
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD25E#FFFFFF#000000##000000
##ECD25E1.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd25e;
/* rgb */ color: rgb(236, 210, 94);
/* oklch */ color: oklch(86.4% 0.138 96.7);
Tailwind
colors: {
  custom: {
    50: '#f5df90',
    500: '#ecd25e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd25e;
$custom-light: #f5df90;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd25e",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 94
  },
  "hsl": {
    "h": 49.014,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86359,
    "c": 0.13777,
    "h": 96.7
  },
  "luminance": 0.64734
}

Semantic roles & 50–950 ramp

primary
#ECD25E
secondary
#354DB9
accent
#31DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD25E

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

Preview Lab → · Contrast checker → · Palette generator →

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