#ECD27E#ECD27E

#ECD27E is a very light, moderate yellow. Relative luminance 0.654; OKLCH L 86.8% C 0.108 H 92.7°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#ECD27E
RGBrgb(236, 210, 126)
HSLhsl(46, 74%, 71%)
HSVhsv(46, 47%, 93%)
CMYKcmyk(0%, 11%, 46.6%, 7.5%)
CIE-LABlab(84.71, -1.84, 44.76)
CIE-LCHlch(84.71, 44.80, 92.35°)
OKLaboklab(86.76% -0.0052 0.1079)
OKLCHoklch(86.76% 0.108 92.7)
XYZxyz(61.4064, 65.4349, 29.1303)
Luminance0.6543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD27E #7E98EC
analogous
#EC9B7E #ECD27E #CFEC7E
triadic
#ECD27E #7EECD2 #D27EEC
tetradic
#ECD27E #7EEC9B #7E98EC #EC7ECF
square
#ECD27E #7EEC9B #7E98EC #EC7ECF
split-complementary
#ECD27E #7ECFEC #9B7EEC
monochromatic
#D1A71F #E4BF49 #ECD27E #F4E5B3 #FBF6E4

Accessibility & contrast

On white

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

On black

14.09
#ECD27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD27E
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD27E#FFFFFF#000000##000000
##ECD27E1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF77
Deuteranopia (green-blind)
#E9D781
Tritanopia (blue-blind)
#FBC6BE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd27e;
/* rgb */ color: rgb(236, 210, 126);
/* oklch */ color: oklch(86.8% 0.108 92.7);
Tailwind
colors: {
  custom: {
    50: '#f4dfa5',
    500: '#ecd27e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd27e;
$custom-light: #f4dfa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd27e",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 126
  },
  "hsl": {
    "h": 45.818,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8676,
    "c": 0.10797,
    "h": 92.7
  },
  "luminance": 0.65432
}

Semantic roles & 50–950 ramp

primary
#ECD27E
secondary
#4966C5
accent
#3ED60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD27E

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

Preview Lab → · Contrast checker → · Palette generator →

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