#CBF951#CBF951

#CBF951 is a very light, vivid yellow-green. Relative luminance 0.810; OKLCH L 92.0% C 0.195 H 123.5°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#CBF951
RGBrgb(203, 249, 81)
HSLhsl(76, 93%, 65%)
HSVhsv(76, 67%, 98%)
CMYKcmyk(18.5%, 0%, 67.5%, 2.4%)
CIE-LABlab(92.15, -37.27, 72.28)
CIE-LCHlch(92.15, 81.32, 117.28°)
OKLaboklab(91.96% -0.108 0.1629)
OKLCHoklch(91.96% 0.195 123.5)
XYZxyz(59.9901, 81.0416, 20.2651)
Luminance0.8104 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF951 #7F51F9
analogous
#F9D351 #CBF951 #77F951
triadic
#CBF951 #51CBF9 #F951CB
tetradic
#CBF951 #51F9D3 #7F51F9 #F95177
square
#CBF951 #51F9D3 #7F51F9 #F95177
split-complementary
#CBF951 #5177F9 #D351F9
monochromatic
#94C907 #B9F716 #CBF951 #DDFB8C #EEFDC7

Accessibility & contrast

On white

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

On black

17.21
#CBF951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF951
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF951#FFFFFF#000000##000000
##CBF9511.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA37
Deuteranopia (green-blind)
#FFE85F
Tritanopia (blue-blind)
#D5EDD7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cbf951;
/* rgb */ color: rgb(203, 249, 81);
/* oklch */ color: oklch(92.0% 0.195 123.5);
Tailwind
colors: {
  custom: {
    50: '#defb8b',
    500: '#cbf951',
    950: '#000000',
  },
}
SCSS
$custom: #cbf951;
$custom-light: #defb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf951",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 81
  },
  "hsl": {
    "h": 76.429,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91961,
    "c": 0.19547,
    "h": 123.5
  },
  "luminance": 0.81042
}

Semantic roles & 50–950 ramp

primary
#CBF951
secondary
#5429C5
accent
#00E63F
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CBF951

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

Preview Lab → · Contrast checker → · Palette generator →

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