#CBF971#CBF971

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

Color values

HEX#CBF971
RGBrgb(203, 249, 113)
HSLhsl(80, 92%, 71%)
HSVhsv(80, 55%, 98%)
CMYKcmyk(18.5%, 0%, 54.6%, 2.4%)
CIE-LABlab(92.42, -34.88, 59.53)
CIE-LCHlch(92.42, 69.00, 120.37°)
OKLaboklab(92.26% -0.0986 0.1397)
OKLCHoklch(92.26% 0.171 125.2)
XYZxyz(61.4850, 81.6395, 28.1383)
Luminance0.8164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF971 #9F71F9
analogous
#F9E371 #CBF971 #87F971
triadic
#CBF971 #71CBF9 #F971CB
tetradic
#CBF971 #71F9E3 #9F71F9 #F97187
square
#CBF971 #71F9E3 #9F71F9 #F97187
split-complementary
#CBF971 #7187F9 #E371F9
monochromatic
#9BE60A #B5F736 #CBF971 #E1FBAC #F4FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF971#FFFFFF#000000##000000
##CBF9711.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)
#FFEB63
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#D2EFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf971;
/* rgb */ color: rgb(203, 249, 113);
/* oklch */ color: oklch(92.3% 0.171 125.2);
Tailwind
colors: {
  custom: {
    50: '#ddfb9e',
    500: '#cbf971',
    950: '#000000',
  },
}
SCSS
$custom: #cbf971;
$custom-light: #ddfb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf971",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 80.294,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.9226,
    "c": 0.17094,
    "h": 125.2
  },
  "luminance": 0.8164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CBF971

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

Preview Lab → · Contrast checker → · Palette generator →

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