#ECD671#ECD671

#ECD671 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.4% C 0.124 H 97.3°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#ECD671
RGBrgb(236, 214, 113)
HSLhsl(49, 76%, 68%)
HSVhsv(49, 52%, 93%)
CMYKcmyk(0%, 9.3%, 52.1%, 7.5%)
CIE-LABlab(85.56, -5.03, 52.11)
CIE-LCHlch(85.56, 52.35, 95.52°)
OKLaboklab(87.39% -0.0158 0.1231)
OKLCHoklch(87.39% 0.124 97.3)
XYZxyz(61.6214, 67.1207, 25.3293)
Luminance0.6712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD671 #7187EC
analogous
#EC9871 #ECD671 #C5EC71
triadic
#ECD671 #71ECD6 #D671EC
tetradic
#ECD671 #71EC98 #7187EC #EC71C5
square
#ECD671 #71EC98 #7187EC #EC71C5
split-complementary
#ECD671 #71C5EC #9871EC
monochromatic
#C8A91B #E5C63B #ECD671 #F3E6A7 #FAF5DD

Accessibility & contrast

On white

1.46
#ECD671 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#ECD671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD671
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD671#FFFFFF#000000##000000
##ECD6711.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D268
Deuteranopia (green-blind)
#EDD975
Tritanopia (blue-blind)
#FCC9BF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd671;
/* rgb */ color: rgb(236, 214, 113);
/* oklch */ color: oklch(87.4% 0.124 97.3);
Tailwind
colors: {
  custom: {
    50: '#f4e29c',
    500: '#ecd671',
    950: '#000000',
  },
}
SCSS
$custom: #ecd671;
$custom-light: #f4e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd671",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 49.268,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87386,
    "c": 0.12409,
    "h": 97.3
  },
  "luminance": 0.67118
}

Semantic roles & 50–950 ramp

primary
#ECD671
secondary
#3D55C4
accent
#31D90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD671

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

Preview Lab → · Contrast checker → · Palette generator →

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