#CBF266#CBF266

#CBF266 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.6% C 0.171 H 122.9°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#CBF266
RGBrgb(203, 242, 102)
HSLhsl(77, 84%, 67%)
HSVhsv(77, 58%, 95%)
CMYKcmyk(16.1%, 0%, 57.9%, 5.1%)
CIE-LABlab(90.40, -32.61, 62.02)
CIE-LCHlch(90.40, 70.07, 117.74°)
OKLaboklab(90.6% -0.0932 0.1439)
OKLCHoklch(90.6% 0.171 122.9)
XYZxyz(58.7794, 77.1599, 24.3645)
Luminance0.7716 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF266 #8D66F2
analogous
#F2D366 #CBF266 #85F266
triadic
#CBF266 #66CBF2 #F266CB
tetradic
#CBF266 #66F2D3 #8D66F2 #F26685
square
#CBF266 #66F2D3 #8D66F2 #F26685
split-complementary
#CBF266 #6685F2 #D366F2
monochromatic
#98CC11 #B8ED2E #CBF266 #DEF79E #F1FCD7

Accessibility & contrast

On white

1.28
#CBF266 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.43
#CBF266 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF266
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF266#FFFFFF#000000##000000
##CBF2661.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FAE36F
Tritanopia (blue-blind)
#D4E7D4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf266;
/* rgb */ color: rgb(203, 242, 102);
/* oklch */ color: oklch(90.6% 0.171 122.9);
Tailwind
colors: {
  custom: {
    50: '#ddf696',
    500: '#cbf266',
    950: '#000000',
  },
}
SCSS
$custom: #cbf266;
$custom-light: #ddf696;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf266",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 102
  },
  "hsl": {
    "h": 76.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90598,
    "c": 0.17144,
    "h": 122.9
  },
  "luminance": 0.7716
}

Semantic roles & 50–950 ramp

primary
#CBF266
secondary
#5D34C9
accent
#05E142
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CBF266

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

Preview Lab → · Contrast checker → · Palette generator →

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