#ECE77A#ECE77A

#ECE77A is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.0% C 0.132 H 106.4°. Best body text is #000000 at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#ECE77A
RGBrgb(236, 231, 122)
HSLhsl(57, 75%, 70%)
HSVhsv(57, 48%, 93%)
CMYKcmyk(0%, 2.1%, 48.3%, 7.5%)
CIE-LABlab(90.04, -12.79, 53.21)
CIE-LCHlch(90.04, 54.72, 103.51°)
OKLaboklab(90.97% -0.0371 0.1263)
OKLCHoklch(90.97% 0.132 106.4)
XYZxyz(66.6824, 76.3916, 29.6410)
Luminance0.7639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE77A #7A7FEC
analogous
#ECAE7A #ECE77A #B8EC7A
triadic
#ECE77A #7AECE7 #E77AEC
tetradic
#ECE77A #7AECAE #7A7FEC #EC7AB8
square
#ECE77A #7AECAE #7A7FEC #EC7AB8
split-complementary
#ECE77A #7AB8EC #AE7AEC
monochromatic
#CEC61D #E4DD44 #ECE77A #F4F1B0 #FBFAE4

Accessibility & contrast

On white

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

On black

16.28
#ECE77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE77A
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE77A#FFFFFF#000000##000000
##ECE77A1.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#F9E57F
Tritanopia (blue-blind)
#FADBCE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece77a;
/* rgb */ color: rgb(236, 231, 122);
/* oklch */ color: oklch(91.0% 0.132 106.4);
Tailwind
colors: {
  custom: {
    50: '#f4eea3',
    500: '#ece77a',
    950: '#000000',
  },
}
SCSS
$custom: #ece77a;
$custom-light: #f4eea3;
$custom-dark: #000000;
JSON
{
  "hex": "#ece77a",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 122
  },
  "hsl": {
    "h": 57.368,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.9097,
    "c": 0.13162,
    "h": 106.4
  },
  "luminance": 0.7639
}

Semantic roles & 50–950 ramp

primary
#ECE77A
secondary
#454BC5
accent
#17D70E
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #ECE77A

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

Preview Lab → · Contrast checker → · Palette generator →

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