#ECD46B#ECD46B

#ECD46B is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.9% C 0.128 H 96.7°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#ECD46B
RGBrgb(236, 212, 107)
HSLhsl(49, 77%, 67%)
HSVhsv(49, 55%, 93%)
CMYKcmyk(0%, 10.2%, 54.7%, 7.5%)
CIE-LABlab(84.99, -4.50, 54.25)
CIE-LCHlch(84.99, 54.44, 94.74°)
OKLaboklab(86.91% -0.0149 0.1272)
OKLCHoklch(86.91% 0.128 96.7)
XYZxyz(60.7916, 65.9840, 23.4411)
Luminance0.6598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD46B #6B83EC
analogous
#EC936B #ECD46B #C4EC6B
triadic
#ECD46B #6BECD4 #D46BEC
tetradic
#ECD46B #6BEC93 #6B83EC #EC6BC4
square
#ECD46B #6BEC93 #6B83EC #EC6BC4
split-complementary
#ECD46B #6BC4EC #936BEC
monochromatic
#C4A419 #E5C435 #ECD46B #F3E4A1 #FAF4D7

Accessibility & contrast

On white

1.48
#ECD46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.20
#ECD46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD46B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD46B#FFFFFF#000000##000000
##ECD46B1.001.4814.2014.20
#FFFFFF1.481.0021.0021.00
#00000014.2021.001.001.00
##00000014.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D061
Deuteranopia (green-blind)
#ECD870
Tritanopia (blue-blind)
#FCC7BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd46b;
/* rgb */ color: rgb(236, 212, 107);
/* oklch */ color: oklch(86.9% 0.128 96.7);
Tailwind
colors: {
  custom: {
    50: '#f5e198',
    500: '#ecd46b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd46b;
$custom-light: #f5e198;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd46b",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 107
  },
  "hsl": {
    "h": 48.837,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86908,
    "c": 0.12803,
    "h": 96.7
  },
  "luminance": 0.65981
}

Semantic roles & 50–950 ramp

primary
#ECD46B
secondary
#3A53C2
accent
#32D90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD46B

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

Preview Lab → · Contrast checker → · Palette generator →

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