#CBF172#CBF172

#CBF172 is a very light, vivid yellow-green. Relative luminance 0.768; OKLCH L 90.5% C 0.160 H 123.4°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#CBF172
RGBrgb(203, 241, 114)
HSLhsl(78, 82%, 70%)
HSVhsv(78, 53%, 95%)
CMYKcmyk(15.8%, 0%, 52.7%, 5.5%)
CIE-LABlab(90.24, -31.11, 56.55)
CIE-LCHlch(90.24, 64.55, 118.82°)
OKLaboklab(90.51% -0.088 0.1333)
OKLCHoklch(90.51% 0.16 123.4)
XYZxyz(59.1214, 76.8217, 27.6297)
Luminance0.7682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF172 #9872F1
analogous
#F1D872 #CBF172 #8CF172
triadic
#CBF172 #72CBF1 #F172CB
tetradic
#CBF172 #72F1D8 #9872F1 #F1728C
square
#CBF172 #72F1D8 #9872F1 #F1728C
split-complementary
#CBF172 #728CF1 #D872F1
monochromatic
#9BD415 #B6EB3A #CBF172 #E0F7AA #F4FCE1

Accessibility & contrast

On white

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

On black

16.36
#CBF172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF172
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF172#FFFFFF#000000##000000
##CBF1721.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE466
Deuteranopia (green-blind)
#F8E37A
Tritanopia (blue-blind)
#D3E7D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf172;
/* rgb */ color: rgb(203, 241, 114);
/* oklch */ color: oklch(90.5% 0.160 123.4);
Tailwind
colors: {
  custom: {
    50: '#ddf59e',
    500: '#cbf172',
    950: '#000000',
  },
}
SCSS
$custom: #cbf172;
$custom-light: #ddf59e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf172",
  "rgb": {
    "r": 203,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 77.953,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.90511,
    "c": 0.15971,
    "h": 123.4
  },
  "luminance": 0.76822
}

Semantic roles & 50–950 ramp

primary
#CBF172
secondary
#673DCA
accent
#07DE48
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF172

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

Preview Lab → · Contrast checker → · Palette generator →

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