#CBF960#CBF960

#CBF960 is a very light, vivid yellow-green. Relative luminance 0.813; OKLCH L 92.1% C 0.185 H 124.2°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#CBF960
RGBrgb(203, 249, 96)
HSLhsl(78, 93%, 68%)
HSVhsv(78, 61%, 98%)
CMYKcmyk(18.5%, 0%, 61.4%, 2.4%)
CIE-LABlab(92.26, -36.26, 66.58)
CIE-LCHlch(92.26, 75.82, 118.57°)
OKLaboklab(92.09% -0.1039 0.1529)
OKLCHoklch(92.09% 0.185 124.2)
XYZxyz(60.6160, 81.2919, 23.5615)
Luminance0.8129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF960 #8E60F9
analogous
#F9DA60 #CBF960 #7FF960
triadic
#CBF960 #60CBF9 #F960CB
tetradic
#CBF960 #60F9DA #8E60F9 #F9607F
square
#CBF960 #60F9DA #8E60F9 #F9607F
split-complementary
#CBF960 #607FF9 #DA60F9
monochromatic
#98D708 #B8F725 #CBF960 #DEFB9B #F2FDD6

Accessibility & contrast

On white

1.22
#CBF960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#CBF960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF960
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF960#FFFFFF#000000##000000
##CBF9601.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA4D
Deuteranopia (green-blind)
#FFE86B
Tritanopia (blue-blind)
#D4EED9
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf960;
/* rgb */ color: rgb(203, 249, 96);
/* oklch */ color: oklch(92.1% 0.185 124.2);
Tailwind
colors: {
  custom: {
    50: '#defb93',
    500: '#cbf960',
    950: '#000000',
  },
}
SCSS
$custom: #cbf960;
$custom-light: #defb93;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf960",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 96
  },
  "hsl": {
    "h": 78.039,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.92086,
    "c": 0.18487,
    "h": 124.2
  },
  "luminance": 0.81292
}

Semantic roles & 50–950 ramp

primary
#CBF960
secondary
#5E2CD1
accent
#00E645
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF960

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

Preview Lab → · Contrast checker → · Palette generator →

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