#ECD790#ECD790

#ECD790 is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 88.0% C 0.093 H 93.6°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#ECD790
RGBrgb(236, 215, 144)
HSLhsl(46, 71%, 75%)
HSVhsv(46, 39%, 93%)
CMYKcmyk(0%, 8.9%, 39%, 7.5%)
CIE-LABlab(86.23, -2.57, 37.68)
CIE-LCHlch(86.23, 37.76, 93.90°)
OKLaboklab(88.05% -0.0057 0.0927)
OKLCHoklch(88.05% 0.093 93.6)
XYZxyz(63.9279, 68.4495, 36.2248)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD790 #90A5EC
analogous
#ECA990 #ECD790 #D3EC90
triadic
#ECD790 #90ECD7 #D790EC
tetradic
#ECD790 #90ECA9 #90A5EC #EC90D3
square
#ECD790 #90ECA9 #90A5EC #EC90D3
split-complementary
#ECD790 #90D3EC #A990EC
monochromatic
#DAB127 #E3C45C #ECD790 #F5EAC4 #FBF6E5

Accessibility & contrast

On white

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

On black

14.69
#ECD790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD790
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD790#FFFFFF#000000##000000
##ECD7901.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd790;
/* rgb */ color: rgb(236, 215, 144);
/* oklch */ color: oklch(88.0% 0.093 93.6);
Tailwind
colors: {
  custom: {
    50: '#f3e3b1',
    500: '#ecd790',
    950: '#000000',
  },
}
SCSS
$custom: #ecd790;
$custom-light: #f3e3b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd790",
  "rgb": {
    "r": 236,
    "g": 215,
    "b": 144
  },
  "hsl": {
    "h": 46.304,
    "s": 70.769,
    "l": 74.51
  },
  "oklch": {
    "l": 0.88046,
    "c": 0.09286,
    "h": 93.6
  },
  "luminance": 0.68447
}

Semantic roles & 50–950 ramp

primary
#ECD790
secondary
#5972C7
accent
#3FD313
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171511
muted
#858481

Preview Lab

Preview with #ECD790

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

Preview Lab → · Contrast checker → · Palette generator →

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