#ECE851#ECE851

#ECE851 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.8% C 0.167 H 107.8°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#ECE851
RGBrgb(236, 232, 81)
HSLhsl(58, 80%, 62%)
HSVhsv(58, 66%, 93%)
CMYKcmyk(0%, 1.7%, 65.7%, 7.5%)
CIE-LABlab(89.93, -16.20, 70.75)
CIE-LCHlch(89.93, 72.58, 102.90°)
OKLaboklab(90.76% -0.0511 0.1589)
OKLCHoklch(90.76% 0.167 107.8)
XYZxyz(64.9362, 76.1422, 19.0593)
Luminance0.7614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE851 #5155EC
analogous
#EC9B51 #ECE851 #A2EC51
triadic
#ECE851 #51ECE8 #E851EC
tetradic
#ECE851 #51EC9B #5155EC #EC51A2
square
#ECE851 #51EC9B #5155EC #EC51A2
split-complementary
#ECE851 #51A2EC #9B51EC
monochromatic
#AFAB13 #E6E11A #ECE851 #F2EF88 #F8F7BF

Accessibility & contrast

On white

1.29
#ECE851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#ECE851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE851
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE851#FFFFFF#000000##000000
##ECE8511.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF3C
Deuteranopia (green-blind)
#FDE55B
Tritanopia (blue-blind)
#FCDAC9
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece851;
/* rgb */ color: rgb(236, 232, 81);
/* oklch */ color: oklch(90.8% 0.167 107.8);
Tailwind
colors: {
  custom: {
    50: '#f6ef8a',
    500: '#ece851',
    950: '#000000',
  },
}
SCSS
$custom: #ece851;
$custom-light: #f6ef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ece851",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 81
  },
  "hsl": {
    "h": 58.452,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.90757,
    "c": 0.16694,
    "h": 107.8
  },
  "luminance": 0.7614
}

Semantic roles & 50–950 ramp

primary
#ECE851
secondary
#3135B0
accent
#0EDD09
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160C
muted
#86857F

Preview Lab

Preview with #ECE851

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

Preview Lab → · Contrast checker → · Palette generator →

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