#ECE66A#ECE66A

#ECE66A is a very light, vivid yellow. Relative luminance 0.755; OKLCH L 90.6% C 0.145 H 106.4°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#ECE66A
RGBrgb(236, 230, 106)
HSLhsl(57, 77%, 67%)
HSVhsv(57, 55%, 93%)
CMYKcmyk(0%, 2.5%, 55.1%, 7.5%)
CIE-LABlab(89.61, -13.60, 60.03)
CIE-LCHlch(89.61, 61.55, 102.76°)
OKLaboklab(90.58% -0.0411 0.1395)
OKLCHoklch(90.58% 0.145 106.4)
XYZxyz(65.4923, 75.4691, 24.7500)
Luminance0.7547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE66A #6A70EC
analogous
#ECA56A #ECE66A #B1EC6A
triadic
#ECE66A #6AECE6 #E66AEC
tetradic
#ECE66A #6AECA5 #6A70EC #EC6AB1
square
#ECE66A #6AECA5 #6A70EC #EC6AB1
split-complementary
#ECE66A #6AB1EC #A56AEC
monochromatic
#C3BB19 #E5DD34 #ECE66A #F3EFA0 #FAF8D7

Accessibility & contrast

On white

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

On black

16.09
#ECE66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE66A
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE66A#FFFFFF#000000##000000
##ECE66A1.001.3016.0916.09
#FFFFFF1.301.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE5D
Deuteranopia (green-blind)
#FAE471
Tritanopia (blue-blind)
#FBD9CB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #ece66a;
/* rgb */ color: rgb(236, 230, 106);
/* oklch */ color: oklch(90.6% 0.145 106.4);
Tailwind
colors: {
  custom: {
    50: '#f5ed98',
    500: '#ece66a',
    950: '#000000',
  },
}
SCSS
$custom: #ece66a;
$custom-light: #f5ed98;
$custom-dark: #000000;
JSON
{
  "hex": "#ece66a",
  "rgb": {
    "r": 236,
    "g": 230,
    "b": 106
  },
  "hsl": {
    "h": 57.231,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.90575,
    "c": 0.14545,
    "h": 106.4
  },
  "luminance": 0.75467
}

Semantic roles & 50–950 ramp

primary
#ECE66A
secondary
#3940C1
accent
#15DA0C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECE66A

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

Preview Lab → · Contrast checker → · Palette generator →

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