#ECD272#ECD272

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

Color values

HEX#ECD272
RGBrgb(236, 210, 114)
HSLhsl(47, 76%, 69%)
HSVhsv(47, 52%, 93%)
CMYKcmyk(0%, 11%, 51.7%, 7.5%)
CIE-LABlab(84.56, -2.91, 50.43)
CIE-LCHlch(84.56, 50.51, 93.30°)
OKLaboklab(86.59% -0.0095 0.1195)
OKLCHoklch(86.59% 0.12 94.6)
XYZxyz(60.6781, 65.1436, 25.2941)
Luminance0.6514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD272 #728CEC
analogous
#EC9572 #ECD272 #C9EC72
triadic
#ECD272 #72ECD2 #D272EC
tetradic
#ECD272 #72EC95 #728CEC #EC72C9
square
#ECD272 #72EC95 #728CEC #EC72C9
split-complementary
#ECD272 #72C9EC #9572EC
monochromatic
#C9A41B #E5C13C #ECD272 #F3E3A8 #FBF4DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD272#FFFFFF#000000##000000
##ECD2721.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)
#E3CE6A
Deuteranopia (green-blind)
#EAD776
Tritanopia (blue-blind)
#FCC5BC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ecd272;
/* rgb */ color: rgb(236, 210, 114);
/* oklch */ color: oklch(86.6% 0.120 94.6);
Tailwind
colors: {
  custom: {
    50: '#f4df9d',
    500: '#ecd272',
    950: '#000000',
  },
}
SCSS
$custom: #ecd272;
$custom-light: #f4df9d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd272",
  "rgb": {
    "r": 236,
    "g": 210,
    "b": 114
  },
  "hsl": {
    "h": 47.213,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86593,
    "c": 0.11988,
    "h": 94.6
  },
  "luminance": 0.65141
}

Semantic roles & 50–950 ramp

primary
#ECD272
secondary
#3E5BC4
accent
#38D80D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD272

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

Preview Lab → · Contrast checker → · Palette generator →

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