#CBF972#CBF972

#CBF972 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.3% C 0.170 H 125.3°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#CBF972
RGBrgb(203, 249, 114)
HSLhsl(80, 92%, 71%)
HSVhsv(80, 54%, 98%)
CMYKcmyk(18.5%, 0%, 54.2%, 2.4%)
CIE-LABlab(92.43, -34.79, 59.10)
CIE-LCHlch(92.43, 68.58, 120.48°)
OKLaboklab(92.27% -0.0982 0.1388)
OKLCHoklch(92.27% 0.17 125.3)
XYZxyz(61.5416, 81.6622, 28.4365)
Luminance0.8166 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF972 #A072F9
analogous
#F9E372 #CBF972 #87F972
triadic
#CBF972 #72CBF9 #F972CB
tetradic
#CBF972 #72F9E3 #A072F9 #F97287
square
#CBF972 #72F9E3 #A072F9 #F97287
split-complementary
#CBF972 #7287F9 #E372F9
monochromatic
#9BE70A #B5F737 #CBF972 #E1FBAD #F4FEE2

Accessibility & contrast

On white

1.21
#CBF972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.33
#CBF972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF972
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF972#FFFFFF#000000##000000
##CBF9721.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#D2EFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf972;
/* rgb */ color: rgb(203, 249, 114);
/* oklch */ color: oklch(92.3% 0.170 125.3);
Tailwind
colors: {
  custom: {
    50: '#ddfb9e',
    500: '#cbf972',
    950: '#000000',
  },
}
SCSS
$custom: #cbf972;
$custom-light: #ddfb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf972",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 80.444,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92272,
    "c": 0.17007,
    "h": 125.3
  },
  "luminance": 0.81663
}

Semantic roles & 50–950 ramp

primary
#CBF972
secondary
#6F3BD4
accent
#00E64E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF972

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

Preview Lab → · Contrast checker → · Palette generator →

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