#CBE166#CBE166

#CBE166 is a very light, vivid yellow-green. Relative luminance 0.675; OKLCH L 86.9% C 0.150 H 118.1°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#CBE166
RGBrgb(203, 225, 102)
HSLhsl(71, 67%, 64%)
HSVhsv(71, 55%, 88%)
CMYKcmyk(9.8%, 0%, 54.7%, 11.8%)
CIE-LABlab(85.76, -24.62, 56.76)
CIE-LCHlch(85.76, 61.87, 113.45°)
OKLaboklab(86.87% -0.0708 0.1326)
OKLCHoklch(86.87% 0.15 118.1)
XYZxyz(53.9528, 67.5067, 22.7556)
Luminance0.6751 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBE166 #7C66E1
analogous
#E1BA66 #CBE166 #8EE166
triadic
#CBE166 #66CBE1 #E166CB
tetradic
#CBE166 #66E1BA #7C66E1 #E1668E
square
#CBE166 #66E1BA #7C66E1 #E1668E
split-complementary
#CBE166 #668EE1 #BA66E1
monochromatic
#92AB22 #BAD733 #CBE166 #DCEB99 #EEF5CC

Accessibility & contrast

On white

1.45
#CBE166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#CBE166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBE166
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBE166#FFFFFF#000000##000000
##CBE1661.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65A
Deuteranopia (green-blind)
#ECD76D
Tritanopia (blue-blind)
#D5D6C6
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #cbe166;
/* rgb */ color: rgb(203, 225, 102);
/* oklch */ color: oklch(86.9% 0.150 118.1);
Tailwind
colors: {
  custom: {
    50: '#ddea95',
    500: '#cbe166',
    950: '#000000',
  },
}
SCSS
$custom: #cbe166;
$custom-light: #ddea95;
$custom-dark: #000000;
JSON
{
  "hex": "#cbe166",
  "rgb": {
    "r": 203,
    "g": 225,
    "b": 102
  },
  "hsl": {
    "h": 70.732,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86872,
    "c": 0.15035,
    "h": 118.1
  },
  "luminance": 0.67506
}

Semantic roles & 50–950 ramp

primary
#CBE166
secondary
#523EAD
accent
#16CF37
background
#FEFEFC
surface
#FCFDF5
border
#D5D5CF
text
#15160E
muted
#84847F

Preview Lab

Preview with #CBE166

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

Preview Lab → · Contrast checker → · Palette generator →

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