#ECD161#ECD161

#ECD161 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.2% C 0.135 H 95.9°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#ECD161
RGBrgb(236, 209, 97)
HSLhsl(48, 79%, 65%)
HSVhsv(48, 59%, 93%)
CMYKcmyk(0%, 11.4%, 58.9%, 7.5%)
CIE-LABlab(84.12, -3.71, 57.84)
CIE-LCHlch(84.12, 57.96, 93.67°)
OKLaboklab(86.19% -0.0138 0.1338)
OKLCHoklch(86.19% 0.135 95.9)
XYZxyz(59.5527, 64.2996, 20.5812)
Luminance0.6430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD161 #617CEC
analogous
#EC8B61 #ECD161 #C2EC61
triadic
#ECD161 #61ECD1 #D161EC
tetradic
#ECD161 #61EC8B #617CEC #EC61C2
square
#ECD161 #61EC8B #617CEC #EC61C2
split-complementary
#ECD161 #61C2EC #8B61EC
monochromatic
#BC9C17 #E5C12A #ECD161 #F3E198 #F9F1CE

Accessibility & contrast

On white

1.52
#ECD161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#ECD161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD161
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD161#FFFFFF#000000##000000
##ECD1611.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD55
Deuteranopia (green-blind)
#EBD666
Tritanopia (blue-blind)
#FDC3B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd161;
/* rgb */ color: rgb(236, 209, 97);
/* oklch */ color: oklch(86.2% 0.135 95.9);
Tailwind
colors: {
  custom: {
    50: '#f5de92',
    500: '#ecd161',
    950: '#000000',
  },
}
SCSS
$custom: #ecd161;
$custom-light: #f5de92;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd161",
  "rgb": {
    "r": 236,
    "g": 209,
    "b": 97
  },
  "hsl": {
    "h": 48.345,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86189,
    "c": 0.1345,
    "h": 95.9
  },
  "luminance": 0.64297
}

Semantic roles & 50–950 ramp

primary
#ECD161
secondary
#3650BB
accent
#33DB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD161

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

Preview Lab → · Contrast checker → · Palette generator →

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