#ECD27D#ECD27D

#ECD27D is a very light, moderate yellow. Relative luminance 0.654; OKLCH L 86.7% C 0.109 H 92.9°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#ECD27D
RGBrgb(236, 210, 125)
HSLhsl(46, 74%, 71%)
HSVhsv(46, 47%, 93%)
CMYKcmyk(0%, 11%, 47%, 7.5%)
CIE-LABlab(84.69, -1.93, 45.24)
CIE-LCHlch(84.69, 45.28, 92.45°)
OKLaboklab(86.75% -0.0055 0.1089)
OKLCHoklch(86.75% 0.109 92.9)
XYZxyz(61.3422, 65.4092, 28.7921)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD27D #7D97EC
analogous
#EC9A7D #ECD27D #CEEC7D
triadic
#ECD27D #7DECD2 #D27DEC
tetradic
#ECD27D #7DEC9A #7D97EC #EC7DCE
square
#ECD27D #7DEC9A #7D97EC #EC7DCE
split-complementary
#ECD27D #7DCEEC #9A7DEC
monochromatic
#D0A71E #E4C048 #ECD27D #F4E4B2 #FBF6E4

Accessibility & contrast

On white

1.49
#ECD27D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#ECD27D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD27D
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD27D#FFFFFF#000000##000000
##ECD27D1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF76
Deuteranopia (green-blind)
#E9D780
Tritanopia (blue-blind)
#FBC6BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd27d;
/* rgb */ color: rgb(236, 210, 125);
/* oklch */ color: oklch(86.7% 0.109 92.9);
Tailwind
colors: {
  custom: {
    50: '#f4dfa4',
    500: '#ecd27d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd27d;
$custom-light: #f4dfa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd27d",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 125
  },
  "hsl": {
    "h": 45.946,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.86745,
    "c": 0.10899,
    "h": 92.9
  },
  "luminance": 0.65407
}

Semantic roles & 50–950 ramp

primary
#ECD27D
secondary
#4865C5
accent
#3ED70F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD27D

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

Preview Lab → · Contrast checker → · Palette generator →

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