#ECE66B#ECE66B

#ECE66B 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.10:1 contrast (WCAG AA passes).

Color values

HEX#ECE66B
RGBrgb(236, 230, 107)
HSLhsl(57, 77%, 67%)
HSVhsv(57, 55%, 93%)
CMYKcmyk(0%, 2.5%, 54.7%, 7.5%)
CIE-LABlab(89.62, -13.52, 59.60)
CIE-LCHlch(89.62, 61.11, 102.79°)
OKLaboklab(90.59% -0.0408 0.1387)
OKLCHoklch(90.59% 0.145 106.4)
XYZxyz(65.5446, 75.4900, 25.0254)
Luminance0.7549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE66B #6B71EC
analogous
#ECA56B #ECE66B #B2EC6B
triadic
#ECE66B #6BECE6 #E66BEC
tetradic
#ECE66B #6BECA5 #6B71EC #EC6BB2
square
#ECE66B #6BECA5 #6B71EC #EC6BB2
split-complementary
#ECE66B #6BB2EC #A56BEC
monochromatic
#C4BC19 #E5DD35 #ECE66B #F3EFA1 #FAF8D7

Accessibility & contrast

On white

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

On black

16.10
#ECE66B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE66B
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE66B#FFFFFF#000000##000000
##ECE66B1.001.3016.1016.10
#FFFFFF1.301.0021.0021.00
#00000016.1021.001.001.00
##00000016.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece66b;
/* rgb */ color: rgb(236, 230, 107);
/* oklch */ color: oklch(90.6% 0.145 106.4);
Tailwind
colors: {
  custom: {
    50: '#f5ed99',
    500: '#ece66b',
    950: '#000000',
  },
}
SCSS
$custom: #ece66b;
$custom-light: #f5ed99;
$custom-dark: #000000;
JSON
{
  "hex": "#ece66b",
  "rgb": {
    "r": 236,
    "g": 230,
    "b": 107
  },
  "hsl": {
    "h": 57.209,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.90585,
    "c": 0.14457,
    "h": 106.4
  },
  "luminance": 0.75488
}

Semantic roles & 50–950 ramp

primary
#ECE66B
secondary
#3A40C2
accent
#16D90C
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #ECE66B

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

Preview Lab → · Contrast checker → · Palette generator →

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