#ECD68E#ECD68E

#ECD68E is a very light, moderate yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.094 H 93.1°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#ECD68E
RGBrgb(236, 214, 142)
HSLhsl(46, 71%, 74%)
HSVhsv(46, 40%, 93%)
CMYKcmyk(0%, 9.3%, 39.8%, 7.5%)
CIE-LABlab(85.95, -2.27, 38.32)
CIE-LCHlch(85.95, 38.39, 93.40°)
OKLaboklab(87.81% -0.005 0.0941)
OKLCHoklch(87.81% 0.094 93.1)
XYZxyz(63.5226, 67.8812, 35.3422)
Luminance0.6788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD68E #8EA4EC
analogous
#ECA78E #ECD68E #D3EC8E
triadic
#ECD68E #8EECD6 #D68EEC
tetradic
#ECD68E #8EECA7 #8EA4EC #EC8ED3
square
#ECD68E #8EECA7 #8EA4EC #EC8ED3
split-complementary
#ECD68E #8ED3EC #A78EEC
monochromatic
#DAB025 #E3C35A #ECD68E #F5E9C2 #FBF5E5

Accessibility & contrast

On white

1.44
#ECD68E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#ECD68E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD68E
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD68E#FFFFFF#000000##000000
##ECD68E1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D389
Deuteranopia (green-blind)
#EADA91
Tritanopia (blue-blind)
#FACBC4
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #ecd68e;
/* rgb */ color: rgb(236, 214, 142);
/* oklch */ color: oklch(87.8% 0.094 93.1);
Tailwind
colors: {
  custom: {
    50: '#f3e2b0',
    500: '#ecd68e',
    950: '#000000',
  },
}
SCSS
$custom: #ecd68e;
$custom-light: #f3e2b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd68e",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 142
  },
  "hsl": {
    "h": 45.957,
    "s": 71.212,
    "l": 74.118
  },
  "oklch": {
    "l": 0.87812,
    "c": 0.09422,
    "h": 93.1
  },
  "luminance": 0.67879
}

Semantic roles & 50–950 ramp

primary
#ECD68E
secondary
#5771C7
accent
#3FD312
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #ECD68E

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

Preview Lab → · Contrast checker → · Palette generator →

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