#ECD05E#ECD05E

#ECD05E is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 86.0% C 0.136 H 95.6°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#ECD05E
RGBrgb(236, 208, 94)
HSLhsl(48, 79%, 65%)
HSVhsv(48, 60%, 93%)
CMYKcmyk(0%, 11.9%, 60.2%, 7.5%)
CIE-LABlab(83.84, -3.40, 58.87)
CIE-LCHlch(83.84, 58.97, 93.31°)
OKLaboklab(85.96% -0.0132 0.1356)
OKLCHoklch(85.96% 0.136 95.6)
XYZxyz(59.1709, 63.7556, 19.7768)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD05E #5E7AEC
analogous
#EC895E #ECD05E #C1EC5E
triadic
#ECD05E #5EECD0 #D05EEC
tetradic
#ECD05E #5EEC89 #5E7AEC #EC5EC1
square
#ECD05E #5EEC89 #5E7AEC #EC5EC1
split-complementary
#ECD05E #5EC1EC #895EEC
monochromatic
#BA9916 #E6C027 #ECD05E #F2E095 #F9F0CB

Accessibility & contrast

On white

1.53
#ECD05E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#ECD05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD05E
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD05E#FFFFFF#000000##000000
##ECD05E1.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC52
Deuteranopia (green-blind)
#EAD563
Tritanopia (blue-blind)
#FDC2B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd05e;
/* rgb */ color: rgb(236, 208, 94);
/* oklch */ color: oklch(86.0% 0.136 95.6);
Tailwind
colors: {
  custom: {
    50: '#f5de90',
    500: '#ecd05e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd05e;
$custom-light: #f5de90;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd05e",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 94
  },
  "hsl": {
    "h": 48.169,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85956,
    "c": 0.13625,
    "h": 95.6
  },
  "luminance": 0.63753
}

Semantic roles & 50–950 ramp

primary
#ECD05E
secondary
#354FB9
accent
#34DB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F

Preview Lab

Preview with #ECD05E

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

Preview Lab → · Contrast checker → · Palette generator →

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