#ECE37F#ECE37F

#ECE37F is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 90.2% C 0.122 H 104.0°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#ECE37F
RGBrgb(236, 227, 127)
HSLhsl(55, 74%, 71%)
HSVhsv(55, 46%, 93%)
CMYKcmyk(0%, 3.8%, 46.2%, 7.5%)
CIE-LABlab(89.07, -10.35, 49.65)
CIE-LCHlch(89.07, 50.72, 101.77°)
OKLaboklab(90.22% -0.0297 0.1188)
OKLCHoklch(90.22% 0.122 104)
XYZxyz(65.8935, 74.3053, 30.9458)
Luminance0.7430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE37F #7F88EC
analogous
#ECAC7F #ECE37F #BEEC7F
triadic
#ECE37F #7FECE3 #E37FEC
tetradic
#ECE37F #7FECAC #7F88EC #EC7FBE
square
#ECE37F #7FECAC #7F88EC #EC7FBE
split-complementary
#ECE37F #7FBEEC #AC7FEC
monochromatic
#D2C31F #E4D74A #ECE37F #F4EFB4 #FBF9E4

Accessibility & contrast

On white

1.32
#ECE37F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#ECE37F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE37F
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE37F#FFFFFF#000000##000000
##ECE37F1.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DD77
Deuteranopia (green-blind)
#F6E283
Tritanopia (blue-blind)
#FAD7CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece37f;
/* rgb */ color: rgb(236, 227, 127);
/* oklch */ color: oklch(90.2% 0.122 104.0);
Tailwind
colors: {
  custom: {
    50: '#f4eba6',
    500: '#ece37f',
    950: '#000000',
  },
}
SCSS
$custom: #ece37f;
$custom-light: #f4eba6;
$custom-dark: #000000;
JSON
{
  "hex": "#ece37f",
  "rgb": {
    "r": 236,
    "g": 227,
    "b": 127
  },
  "hsl": {
    "h": 55.046,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90215,
    "c": 0.12247,
    "h": 104
  },
  "luminance": 0.74303
}

Semantic roles & 50–950 ramp

primary
#ECE37F
secondary
#4A54C6
accent
#20D60F
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #ECE37F

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

Preview Lab → · Contrast checker → · Palette generator →

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