#ECD374#ECD374

#ECD374 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.8% C 0.119 H 95.0°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#ECD374
RGBrgb(236, 211, 116)
HSLhsl(48, 76%, 69%)
HSVhsv(48, 51%, 93%)
CMYKcmyk(0%, 10.6%, 50.8%, 7.5%)
CIE-LABlab(84.84, -3.25, 49.80)
CIE-LCHlch(84.84, 49.91, 93.74°)
OKLaboklab(86.82% -0.0103 0.1183)
OKLCHoklch(86.82% 0.119 95)
XYZxyz(61.0408, 65.6849, 25.9828)
Luminance0.6568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD374 #748DEC
analogous
#EC9774 #ECD374 #C9EC74
triadic
#ECD374 #74ECD3 #D374EC
tetradic
#ECD374 #74EC97 #748DEC #EC74C9
square
#ECD374 #74EC97 #748DEC #EC74C9
split-complementary
#ECD374 #74C9EC #9774EC
monochromatic
#CAA61C #E5C23E #ECD374 #F3E4AA #FBF5E0

Accessibility & contrast

On white

1.49
#ECD374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.14
#ECD374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD374
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD374#FFFFFF#000000##000000
##ECD3741.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CF6C
Deuteranopia (green-blind)
#EBD778
Tritanopia (blue-blind)
#FCC6BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd374;
/* rgb */ color: rgb(236, 211, 116);
/* oklch */ color: oklch(86.8% 0.119 95.0);
Tailwind
colors: {
  custom: {
    50: '#f4e09e',
    500: '#ecd374',
    950: '#000000',
  },
}
SCSS
$custom: #ecd374;
$custom-light: #f4e09e;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd374",
  "rgb": {
    "r": 236,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 47.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.8682,
    "c": 0.11874,
    "h": 95
  },
  "luminance": 0.65682
}

Semantic roles & 50–950 ramp

primary
#ECD374
secondary
#405BC5
accent
#38D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD374

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

Preview Lab → · Contrast checker → · Palette generator →

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