#ECE75A#ECE75A

#ECE75A is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.6% C 0.160 H 107.3°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#ECE75A
RGBrgb(236, 231, 90)
HSLhsl(58, 79%, 64%)
HSVhsv(58, 62%, 93%)
CMYKcmyk(0%, 2.1%, 61.9%, 7.5%)
CIE-LABlab(89.73, -15.19, 66.99)
CIE-LCHlch(89.73, 68.69, 102.77°)
OKLaboklab(90.62% -0.0473 0.1523)
OKLCHoklch(90.62% 0.16 107.3)
XYZxyz(65.0156, 75.7249, 20.8625)
Luminance0.7572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE75A #5A5FEC
analogous
#EC9E5A #ECE75A #A8EC5A
triadic
#ECE75A #5AECE7 #E75AEC
tetradic
#ECE75A #5AEC9E #5A5FEC #EC5AA8
square
#ECE75A #5AEC9E #5A5FEC #EC5AA8
split-complementary
#ECE75A #5AA8EC #9E5AEC
monochromatic
#B7B115 #E6DF23 #ECE75A #F2EF91 #F9F7C8

Accessibility & contrast

On white

1.30
#ECE75A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#ECE75A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE75A
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE75A#FFFFFF#000000##000000
##ECE75A1.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF49
Deuteranopia (green-blind)
#FCE463
Tritanopia (blue-blind)
#FCD9CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece75a;
/* rgb */ color: rgb(236, 231, 90);
/* oklch */ color: oklch(90.6% 0.160 107.3);
Tailwind
colors: {
  custom: {
    50: '#f5ee8f',
    500: '#ece75a',
    950: '#000000',
  },
}
SCSS
$custom: #ece75a;
$custom-light: #f5ee8f;
$custom-dark: #000000;
JSON
{
  "hex": "#ece75a",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 90
  },
  "hsl": {
    "h": 57.945,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90624,
    "c": 0.15951,
    "h": 107.3
  },
  "luminance": 0.75723
}

Semantic roles & 50–950 ramp

primary
#ECE75A
secondary
#3439B6
accent
#11DC0A
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #ECE75A

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

Preview Lab → · Contrast checker → · Palette generator →

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