#ECE27E#ECE27E

#ECE27E is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.0% C 0.122 H 103.5°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#ECE27E
RGBrgb(236, 226, 126)
HSLhsl(55, 74%, 71%)
HSVhsv(55, 47%, 93%)
CMYKcmyk(0%, 4.2%, 46.6%, 7.5%)
CIE-LABlab(88.80, -9.94, 49.80)
CIE-LCHlch(88.80, 50.79, 101.29°)
OKLaboklab(90% -0.0286 0.1191)
OKLCHoklch(90% 0.122 103.5)
XYZxyz(65.5559, 73.7339, 30.5134)
Luminance0.7373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE27E #7E88EC
analogous
#ECAB7E #ECE27E #BFEC7E
triadic
#ECE27E #7EECE2 #E27EEC
tetradic
#ECE27E #7EECAB #7E88EC #EC7EBF
square
#ECE27E #7EECAB #7E88EC #EC7EBF
split-complementary
#ECE27E #7EBFEC #AB7EEC
monochromatic
#D1C11F #E4D649 #ECE27E #F4EEB3 #FBF9E4

Accessibility & contrast

On white

1.33
#ECE27E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#ECE27E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE27E
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE27E#FFFFFF#000000##000000
##ECE27E1.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC76
Deuteranopia (green-blind)
#F5E182
Tritanopia (blue-blind)
#FAD6CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #ece27e;
/* rgb */ color: rgb(236, 226, 126);
/* oklch */ color: oklch(90.0% 0.122 103.5);
Tailwind
colors: {
  custom: {
    50: '#f4eaa5',
    500: '#ece27e',
    950: '#000000',
  },
}
SCSS
$custom: #ece27e;
$custom-light: #f4eaa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ece27e",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 126
  },
  "hsl": {
    "h": 54.545,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89997,
    "c": 0.12246,
    "h": 103.5
  },
  "luminance": 0.73732
}

Semantic roles & 50–950 ramp

primary
#ECE27E
secondary
#4954C5
accent
#21D60F
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #ECE27E

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

Preview Lab → · Contrast checker → · Palette generator →

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