#CBF962#CBF962

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

Color values

HEX#CBF962
RGBrgb(203, 249, 98)
HSLhsl(78, 93%, 68%)
HSVhsv(78, 61%, 98%)
CMYKcmyk(18.5%, 0%, 60.6%, 2.4%)
CIE-LABlab(92.28, -36.11, 65.78)
CIE-LCHlch(92.28, 75.05, 118.77°)
OKLaboklab(92.11% -0.1033 0.1515)
OKLCHoklch(92.11% 0.183 124.3)
XYZxyz(60.7092, 81.3292, 24.0527)
Luminance0.8133 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF962 #9062F9
analogous
#F9DB62 #CBF962 #7FF962
triadic
#CBF962 #62CBF9 #F962CB
tetradic
#CBF962 #62F9DB #9062F9 #F9627F
square
#CBF962 #62F9DB #9062F9 #F9627F
split-complementary
#CBF962 #627FF9 #DB62F9
monochromatic
#99D808 #B7F727 #CBF962 #DFFB9D #F2FED8

Accessibility & contrast

On white

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

On black

17.27
#CBF962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF962
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF962#FFFFFF#000000##000000
##CBF9621.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbf962;
/* rgb */ color: rgb(203, 249, 98);
/* oklch */ color: oklch(92.1% 0.183 124.3);
Tailwind
colors: {
  custom: {
    50: '#defb94',
    500: '#cbf962',
    950: '#000000',
  },
}
SCSS
$custom: #cbf962;
$custom-light: #defb94;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf962",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 98
  },
  "hsl": {
    "h": 78.278,
    "s": 92.638,
    "l": 68.039
  },
  "oklch": {
    "l": 0.92105,
    "c": 0.18333,
    "h": 124.3
  },
  "luminance": 0.8133
}

Semantic roles & 50–950 ramp

primary
#CBF962
secondary
#5F2DD2
accent
#00E646
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CBF962

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

Preview Lab → · Contrast checker → · Palette generator →

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