#ECD34D#ECD34D

#ECD34D is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 86.4% C 0.151 H 98.5°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#ECD34D
RGBrgb(236, 211, 77)
HSLhsl(51, 81%, 61%)
HSVhsv(51, 67%, 93%)
CMYKcmyk(0%, 10.6%, 67.4%, 7.5%)
CIE-LABlab(84.46, -5.96, 66.72)
CIE-LCHlch(84.46, 66.98, 95.10°)
OKLaboklab(86.41% -0.0225 0.1498)
OKLCHoklch(86.41% 0.151 98.5)
XYZxyz(59.2286, 64.9600, 16.4385)
Luminance0.6496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD34D #4D66EC
analogous
#EC844D #ECD34D #B6EC4D
triadic
#ECD34D #4DECD3 #D34DEC
tetradic
#ECD34D #4DEC84 #4D66EC #EC4DB6
square
#ECD34D #4DEC84 #4D66EC #EC4DB6
split-complementary
#ECD34D #4DB6EC #844DEC
monochromatic
#AC9412 #E4C418 #ECD34D #F2E184 #F8EEBC

Accessibility & contrast

On white

1.50
#ECD34D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#ECD34D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD34D
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD34D#FFFFFF#000000##000000
##ECD34D1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3B
Deuteranopia (green-blind)
#EED755
Tritanopia (blue-blind)
#FEC4B8
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd34d;
/* rgb */ color: rgb(236, 211, 77);
/* oklch */ color: oklch(86.4% 0.151 98.5);
Tailwind
colors: {
  custom: {
    50: '#f6e086',
    500: '#ecd34d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd34d;
$custom-light: #f6e086;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd34d",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 77
  },
  "hsl": {
    "h": 50.566,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86406,
    "c": 0.15145,
    "h": 98.5
  },
  "luminance": 0.64957
}

Semantic roles & 50–950 ramp

primary
#ECD34D
secondary
#3044AD
accent
#2ADD08
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD34D

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

Preview Lab → · Contrast checker → · Palette generator →

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