#ECD273#ECD273

#ECD273 is a very light, moderate yellow. Relative luminance 0.652; OKLCH L 86.6% C 0.119 H 94.4°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#ECD273
RGBrgb(236, 210, 115)
HSLhsl(47, 76%, 69%)
HSVhsv(47, 51%, 93%)
CMYKcmyk(0%, 11%, 51.3%, 7.5%)
CIE-LABlab(84.57, -2.83, 49.96)
CIE-LCHlch(84.57, 50.04, 93.24°)
OKLaboklab(86.61% -0.0092 0.1186)
OKLCHoklch(86.61% 0.119 94.4)
XYZxyz(60.7353, 65.1665, 25.5955)
Luminance0.6516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD273 #738DEC
analogous
#EC9673 #ECD273 #CAEC73
triadic
#ECD273 #73ECD2 #D273EC
tetradic
#ECD273 #73EC96 #738DEC #EC73CA
square
#ECD273 #73EC96 #738DEC #EC73CA
split-complementary
#ECD273 #73CAEC #9673EC
monochromatic
#C9A41B #E5C13D #ECD273 #F3E3A9 #FBF5DF

Accessibility & contrast

On white

1.50
#ECD273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#ECD273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD273
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD273#FFFFFF#000000##000000
##ECD2731.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6B
Deuteranopia (green-blind)
#EAD777
Tritanopia (blue-blind)
#FCC5BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd273;
/* rgb */ color: rgb(236, 210, 115);
/* oklch */ color: oklch(86.6% 0.119 94.4);
Tailwind
colors: {
  custom: {
    50: '#f4df9d',
    500: '#ecd273',
    950: '#000000',
  },
}
SCSS
$custom: #ecd273;
$custom-light: #f4df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd273",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 115
  },
  "hsl": {
    "h": 47.107,
    "s": 76.101,
    "l": 68.824
  },
  "oklch": {
    "l": 0.86606,
    "c": 0.11891,
    "h": 94.4
  },
  "luminance": 0.65164
}

Semantic roles & 50–950 ramp

primary
#ECD273
secondary
#3F5CC4
accent
#39D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD273

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

Preview Lab → · Contrast checker → · Palette generator →

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