#ECD795#ECD795

#ECD795 is a very light, moderate yellow. Relative luminance 0.686; OKLCH L 88.1% C 0.087 H 92.5°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#ECD795
RGBrgb(236, 215, 149)
HSLhsl(46, 70%, 75%)
HSVhsv(46, 37%, 93%)
CMYKcmyk(0%, 8.9%, 36.9%, 7.5%)
CIE-LABlab(86.31, -2.01, 35.23)
CIE-LCHlch(86.31, 35.29, 93.27°)
OKLaboklab(88.13% -0.0038 0.0872)
OKLCHoklch(88.13% 0.087 92.5)
XYZxyz(64.3186, 68.6058, 38.2821)
Luminance0.6860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD795 #95AAEC
analogous
#ECAB95 #ECD795 #D6EC95
triadic
#ECD795 #95ECD7 #D795EC
tetradic
#ECD795 #95ECAB #95AAEC #EC95D6
square
#ECD795 #95ECAB #95AAEC #EC95D6
split-complementary
#ECD795 #95D6EC #AB95EC
monochromatic
#D9B02D #E3C361 #ECD795 #F5EBC9 #FAF5E5

Accessibility & contrast

On white

1.43
#ECD795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.72
#ECD795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD795
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD795#FFFFFF#000000##000000
##ECD7951.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D490
Deuteranopia (green-blind)
#EADB97
Tritanopia (blue-blind)
#F9CDC6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd795;
/* rgb */ color: rgb(236, 215, 149);
/* oklch */ color: oklch(88.1% 0.087 92.5);
Tailwind
colors: {
  custom: {
    50: '#f3e3b5',
    500: '#ecd795',
    950: '#000000',
  },
}
SCSS
$custom: #ecd795;
$custom-light: #f3e3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd795",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 149
  },
  "hsl": {
    "h": 45.517,
    "s": 69.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.88133,
    "c": 0.08728,
    "h": 92.5
  },
  "luminance": 0.68604
}

Semantic roles & 50–950 ramp

primary
#ECD795
secondary
#5E77C7
accent
#42D214
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD795

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

Preview Lab → · Contrast checker → · Palette generator →

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