#ECD259#ECD259

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

Color values

HEX#ECD259
RGBrgb(236, 210, 89)
HSLhsl(49, 79%, 64%)
HSVhsv(49, 62%, 93%)
CMYKcmyk(0%, 11%, 62.3%, 7.5%)
CIE-LABlab(84.30, -4.75, 61.57)
CIE-LCHlch(84.30, 61.76, 94.41°)
OKLaboklab(86.31% -0.0177 0.1407)
OKLCHoklch(86.31% 0.142 97.2)
XYZxyz(59.4444, 64.6501, 18.7968)
Luminance0.6465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD259 #5973EC
analogous
#EC8859 #ECD259 #BCEC59
triadic
#ECD259 #59ECD2 #D259EC
tetradic
#ECD259 #59EC88 #5973EC #EC59BC
square
#ECD259 #59EC88 #5973EC #EC59BC
split-complementary
#ECD259 #59BCEC #8859EC
monochromatic
#B69915 #E6C322 #ECD259 #F2E190 #F9F0C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD259#FFFFFF#000000##000000
##ECD2591.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)
#E5CD4B
Deuteranopia (green-blind)
#ECD65F
Tritanopia (blue-blind)
#FDC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd259;
/* rgb */ color: rgb(236, 210, 89);
/* oklch */ color: oklch(86.3% 0.142 97.2);
Tailwind
colors: {
  custom: {
    50: '#f5df8d',
    500: '#ecd259',
    950: '#000000',
  },
}
SCSS
$custom: #ecd259;
$custom-light: #f5df8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd259",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 49.388,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86309,
    "c": 0.14181,
    "h": 97.2
  },
  "luminance": 0.64647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECD259

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

Preview Lab → · Contrast checker → · Palette generator →

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