#ECD074#ECD074

#ECD074 is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 86.2% C 0.116 H 92.9°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#ECD074
RGBrgb(236, 208, 116)
HSLhsl(46, 76%, 69%)
HSVhsv(46, 51%, 93%)
CMYKcmyk(0%, 11.9%, 50.8%, 7.5%)
CIE-LABlab(84.07, -1.72, 48.88)
CIE-LCHlch(84.07, 48.91, 92.01°)
OKLaboklab(86.22% -0.0058 0.1163)
OKLCHoklch(86.22% 0.116 92.9)
XYZxyz(60.3025, 64.2082, 25.7367)
Luminance0.6421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD074 #7490EC
analogous
#EC9474 #ECD074 #CCEC74
triadic
#ECD074 #74ECD0 #D074EC
tetradic
#ECD074 #74EC94 #7490EC #EC74CC
square
#ECD074 #74EC94 #7490EC #EC74CC
split-complementary
#ECD074 #74CCEC #9474EC
monochromatic
#CAA11C #E5BE3E #ECD074 #F3E2AA #FBF4E0

Accessibility & contrast

On white

1.52
#ECD074 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#ECD074 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD074
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD074#FFFFFF#000000##000000
##ECD0741.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6C
Deuteranopia (green-blind)
#E9D578
Tritanopia (blue-blind)
#FCC3BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ecd074;
/* rgb */ color: rgb(236, 208, 116);
/* oklch */ color: oklch(86.2% 0.116 92.9);
Tailwind
colors: {
  custom: {
    50: '#f4de9e',
    500: '#ecd074',
    950: '#000000',
  },
}
SCSS
$custom: #ecd074;
$custom-light: #f4de9e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd074",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 116
  },
  "hsl": {
    "h": 46,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86218,
    "c": 0.11641,
    "h": 92.9
  },
  "luminance": 0.64206
}

Semantic roles & 50–950 ramp

primary
#ECD074
secondary
#405FC5
accent
#3DD80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD074

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

Preview Lab → · Contrast checker → · Palette generator →

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