#ECE05C#ECE05C

#ECE05C is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.2% C 0.151 H 104.1°. Best body text is #000000 at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#ECE05C
RGBrgb(236, 224, 92)
HSLhsl(55, 79%, 64%)
HSVhsv(55, 61%, 93%)
CMYKcmyk(0%, 5.1%, 61%, 7.5%)
CIE-LABlab(87.93, -11.60, 64.23)
CIE-LCHlch(87.93, 65.27, 100.24°)
OKLaboklab(89.2% -0.0369 0.1468)
OKLCHoklch(89.2% 0.151 104.1)
XYZxyz(63.1818, 71.9192, 20.6768)
Luminance0.7192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE05C #5C68EC
analogous
#EC985C #ECE05C #B0EC5C
triadic
#ECE05C #5CECE0 #E05CEC
tetradic
#ECE05C #5CEC98 #5C68EC #EC5CB0
square
#ECE05C #5CEC98 #5C68EC #EC5CB0
split-complementary
#ECE05C #5CB0EC #985CEC
monochromatic
#B8AB15 #E6D625 #ECE05C #F2EA93 #F9F5CA

Accessibility & contrast

On white

1.37
#ECE05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.38
#ECE05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE05C
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE05C#FFFFFF#000000##000000
##ECE05C1.001.3715.3815.38
#FFFFFF1.371.0021.0021.00
#00000015.3821.001.001.00
##00000015.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D94D
Deuteranopia (green-blind)
#F6DF63
Tritanopia (blue-blind)
#FCD2C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ece05c;
/* rgb */ color: rgb(236, 224, 92);
/* oklch */ color: oklch(89.2% 0.151 104.1);
Tailwind
colors: {
  custom: {
    50: '#f5e98f',
    500: '#ece05c',
    950: '#000000',
  },
}
SCSS
$custom: #ece05c;
$custom-light: #f5e98f;
$custom-dark: #000000;
JSON
{
  "hex": "#ece05c",
  "rgb": {
    "r": 236,
    "g": 224,
    "b": 92
  },
  "hsl": {
    "h": 55,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89195,
    "c": 0.15132,
    "h": 104.1
  },
  "luminance": 0.71917
}

Semantic roles & 50–950 ramp

primary
#ECE05C
secondary
#3540B8
accent
#1CDB0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #ECE05C

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

Preview Lab → · Contrast checker → · Palette generator →

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