#ECD47B#ECD47B

#ECD47B is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.113 H 94.7°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#ECD47B
RGBrgb(236, 212, 123)
HSLhsl(47, 75%, 70%)
HSVhsv(47, 48%, 93%)
CMYKcmyk(0%, 10.2%, 47.9%, 7.5%)
CIE-LABlab(85.18, -3.14, 46.82)
CIE-LCHlch(85.18, 46.92, 93.84°)
OKLaboklab(87.12% -0.0093 0.1122)
OKLCHoklch(87.12% 0.113 94.7)
XYZxyz(61.7126, 66.3524, 28.2916)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD47B #7B93EC
analogous
#EC9C7B #ECD47B #CBEC7B
triadic
#ECD47B #7BECD4 #D47BEC
tetradic
#ECD47B #7BEC9C #7B93EC #EC7BCB
square
#ECD47B #7BEC9C #7B93EC #EC7BCB
split-complementary
#ECD47B #7BCBEC #9C7BEC
monochromatic
#CFA91E #E4C346 #ECD47B #F4E5B0 #FBF6E4

Accessibility & contrast

On white

1.47
#ECD47B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#ECD47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD47B
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD47B#FFFFFF#000000##000000
##ECD47B1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D074
Deuteranopia (green-blind)
#EBD87E
Tritanopia (blue-blind)
#FBC8BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd47b;
/* rgb */ color: rgb(236, 212, 123);
/* oklch */ color: oklch(87.1% 0.113 94.7);
Tailwind
colors: {
  custom: {
    50: '#f4e1a3',
    500: '#ecd47b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd47b;
$custom-light: #f4e1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd47b",
  "rgb": {
    "r": 236,
    "g": 212,
    "b": 123
  },
  "hsl": {
    "h": 47.257,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.87117,
    "c": 0.11261,
    "h": 94.7
  },
  "luminance": 0.6635
}

Semantic roles & 50–950 ramp

primary
#ECD47B
secondary
#4661C5
accent
#39D70F
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD47B

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

Preview Lab → · Contrast checker → · Palette generator →

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