#ECD062#ECD062

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

Color values

HEX#ECD062
RGBrgb(236, 208, 98)
HSLhsl(48, 78%, 65%)
HSVhsv(48, 58%, 93%)
CMYKcmyk(0%, 11.9%, 58.5%, 7.5%)
CIE-LABlab(83.88, -3.13, 57.11)
CIE-LCHlch(83.88, 57.20, 93.13°)
OKLaboklab(86% -0.012 0.1323)
OKLCHoklch(86% 0.133 95.2)
XYZxyz(59.3550, 63.8293, 20.7467)
Luminance0.6383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD062 #627EEC
analogous
#EC8B62 #ECD062 #C3EC62
triadic
#ECD062 #62ECD0 #D062EC
tetradic
#ECD062 #62EC8B #627EEC #EC62C3
square
#ECD062 #62EC8B #627EEC #EC62C3
split-complementary
#ECD062 #62C3EC #8B62EC
monochromatic
#BD9B17 #E5C02B #ECD062 #F3E099 #F9F1CF

Accessibility & contrast

On white

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

On black

13.77
#ECD062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD062
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD062#FFFFFF#000000##000000
##ECD0621.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#FDC2B8
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd062;
/* rgb */ color: rgb(236, 208, 98);
/* oklch */ color: oklch(86.0% 0.133 95.2);
Tailwind
colors: {
  custom: {
    50: '#f5de92',
    500: '#ecd062',
    950: '#000000',
  },
}
SCSS
$custom: #ecd062;
$custom-light: #f5de92;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd062",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 47.826,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.85999,
    "c": 0.13288,
    "h": 95.2
  },
  "luminance": 0.63826
}

Semantic roles & 50–950 ramp

primary
#ECD062
secondary
#3752BC
accent
#35DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD062

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

Preview Lab → · Contrast checker → · Palette generator →

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