#ECE37E#ECE37E

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

Color values

HEX#ECE37E
RGBrgb(236, 227, 126)
HSLhsl(55, 74%, 71%)
HSVhsv(55, 47%, 93%)
CMYKcmyk(0%, 3.8%, 46.6%, 7.5%)
CIE-LABlab(89.05, -10.44, 50.12)
CIE-LCHlch(89.05, 51.19, 101.77°)
OKLaboklab(90.2% -0.03 0.1198)
OKLCHoklch(90.2% 0.123 104.1)
XYZxyz(65.8286, 74.2793, 30.6043)
Luminance0.7428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE37E #7E87EC
analogous
#ECAC7E #ECE37E #BEEC7E
triadic
#ECE37E #7EECE3 #E37EEC
tetradic
#ECE37E #7EECAC #7E87EC #EC7EBE
square
#ECE37E #7EECAC #7E87EC #EC7EBE
split-complementary
#ECE37E #7EBEEC #AC7EEC
monochromatic
#D1C21F #E4D749 #ECE37E #F4EFB3 #FBF9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECE37E#FFFFFF#000000##000000
##ECE37E1.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)
#F3DD75
Deuteranopia (green-blind)
#F6E283
Tritanopia (blue-blind)
#FAD7CB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #ece37e;
/* rgb */ color: rgb(236, 227, 126);
/* oklch */ color: oklch(90.2% 0.123 104.1);
Tailwind
colors: {
  custom: {
    50: '#f4eba5',
    500: '#ece37e',
    950: '#000000',
  },
}
SCSS
$custom: #ece37e;
$custom-light: #f4eba5;
$custom-dark: #000000;
JSON
{
  "hex": "#ece37e",
  "rgb": {
    "r": 236,
    "g": 227,
    "b": 126
  },
  "hsl": {
    "h": 55.091,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90202,
    "c": 0.12347,
    "h": 104.1
  },
  "luminance": 0.74277
}

Semantic roles & 50–950 ramp

primary
#ECE37E
secondary
#4953C5
accent
#1FD60F
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #ECE37E

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

Preview Lab → · Contrast checker → · Palette generator →

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