#ECD792#ECD792

#ECD792 is a very light, moderate yellow. Relative luminance 0.685; OKLCH L 88.1% C 0.091 H 93.1°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#ECD792
RGBrgb(236, 215, 146)
HSLhsl(46, 70%, 75%)
HSVhsv(46, 38%, 93%)
CMYKcmyk(0%, 8.9%, 38.1%, 7.5%)
CIE-LABlab(86.26, -2.35, 36.70)
CIE-LCHlch(86.26, 36.78, 93.66°)
OKLaboklab(88.08% -0.005 0.0905)
OKLCHoklch(88.08% 0.091 93.1)
XYZxyz(64.0821, 68.5112, 37.0369)
Luminance0.6851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD792 #92A7EC
analogous
#ECAA92 #ECD792 #D4EC92
triadic
#ECD792 #92ECD7 #D792EC
tetradic
#ECD792 #92ECAA #92A7EC #EC92D4
square
#ECD792 #92ECAA #92A7EC #EC92D4
split-complementary
#ECD792 #92D4EC #AA92EC
monochromatic
#DAB12A #E3C45E #ECD792 #F5EAC6 #FAF5E5

Accessibility & contrast

On white

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

On black

14.70
#ECD792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD792
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD792#FFFFFF#000000##000000
##ECD7921.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D48D
Deuteranopia (green-blind)
#EBDB94
Tritanopia (blue-blind)
#F9CDC5
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd792;
/* rgb */ color: rgb(236, 215, 146);
/* oklch */ color: oklch(88.1% 0.091 93.1);
Tailwind
colors: {
  custom: {
    50: '#f3e3b2',
    500: '#ecd792',
    950: '#000000',
  },
}
SCSS
$custom: #ecd792;
$custom-light: #f3e3b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd792",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 146
  },
  "hsl": {
    "h": 46,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.8808,
    "c": 0.09064,
    "h": 93.1
  },
  "luminance": 0.68509
}

Semantic roles & 50–950 ramp

primary
#ECD792
secondary
#5B74C7
accent
#40D213
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD792

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

Preview Lab → · Contrast checker → · Palette generator →

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