#ECE85A#ECE85A

#ECE85A is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 90.8% C 0.160 H 107.7°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#ECE85A
RGBrgb(236, 232, 90)
HSLhsl(58, 79%, 64%)
HSVhsv(58, 62%, 93%)
CMYKcmyk(0%, 1.7%, 61.9%, 7.5%)
CIE-LABlab(89.99, -15.68, 67.27)
CIE-LCHlch(89.99, 69.08, 103.12°)
OKLaboklab(90.83% -0.0487 0.1529)
OKLCHoklch(90.83% 0.16 107.7)
XYZxyz(65.2963, 76.2863, 20.9560)
Luminance0.7628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE85A #5A5EEC
analogous
#EC9F5A #ECE85A #A7EC5A
triadic
#ECE85A #5AECE8 #E85AEC
tetradic
#ECE85A #5AEC9F #5A5EEC #EC5AA7
square
#ECE85A #5AEC9F #5A5EEC #EC5AA7
split-complementary
#ECE85A #5AA7EC #9F5AEC
monochromatic
#B7B215 #E6E023 #ECE85A #F2F091 #F9F7C8

Accessibility & contrast

On white

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

On black

16.26
#ECE85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE85A
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE85A#FFFFFF#000000##000000
##ECE85A1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF48
Deuteranopia (green-blind)
#FDE563
Tritanopia (blue-blind)
#FCDACA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece85a;
/* rgb */ color: rgb(236, 232, 90);
/* oklch */ color: oklch(90.8% 0.160 107.7);
Tailwind
colors: {
  custom: {
    50: '#f5ef8f',
    500: '#ece85a',
    950: '#000000',
  },
}
SCSS
$custom: #ece85a;
$custom-light: #f5ef8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ece85a",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 90
  },
  "hsl": {
    "h": 58.356,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90832,
    "c": 0.16049,
    "h": 107.7
  },
  "luminance": 0.76284
}

Semantic roles & 50–950 ramp

primary
#ECE85A
secondary
#3438B6
accent
#10DC0A
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #ECE85A

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

Preview Lab → · Contrast checker → · Palette generator →

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