#CBF851#CBF851

#CBF851 is a very light, vivid yellow-green. Relative luminance 0.804; OKLCH L 91.7% C 0.194 H 123.3°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#CBF851
RGBrgb(203, 248, 81)
HSLhsl(76, 92%, 65%)
HSVhsv(76, 67%, 97%)
CMYKcmyk(18.1%, 0%, 67.3%, 2.7%)
CIE-LABlab(91.88, -36.82, 72.00)
CIE-LCHlch(91.88, 80.86, 117.09°)
OKLaboklab(91.74% -0.1067 0.1624)
OKLCHoklch(91.74% 0.194 123.3)
XYZxyz(59.6818, 80.4251, 20.1624)
Luminance0.8043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF851 #7E51F8
analogous
#F8D251 #CBF851 #77F851
triadic
#CBF851 #51CBF8 #F851CB
tetradic
#CBF851 #51F8D2 #7E51F8 #F85177
square
#CBF851 #51F8D2 #7E51F8 #F85177
split-complementary
#CBF851 #5177F8 #D251F8
monochromatic
#93C708 #B9F616 #CBF851 #DDFA8C #EEFDC7

Accessibility & contrast

On white

1.23
#CBF851 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.09
#CBF851 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF851
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF851#FFFFFF#000000##000000
##CBF8511.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE938
Deuteranopia (green-blind)
#FFE75E
Tritanopia (blue-blind)
#D5ECD7
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #cbf851;
/* rgb */ color: rgb(203, 248, 81);
/* oklch */ color: oklch(91.7% 0.194 123.3);
Tailwind
colors: {
  custom: {
    50: '#defa8a',
    500: '#cbf851',
    950: '#000000',
  },
}
SCSS
$custom: #cbf851;
$custom-light: #defa8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf851",
  "rgb": {
    "r": 203,
    "g": 248,
    "b": 81
  },
  "hsl": {
    "h": 76.168,
    "s": 92.265,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91739,
    "c": 0.1943,
    "h": 123.3
  },
  "luminance": 0.80425
}

Semantic roles & 50–950 ramp

primary
#CBF851
secondary
#532AC3
accent
#00E63E
background
#FEFFFC
surface
#FCFFF4
border
#D5D7CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #CBF851

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

Preview Lab → · Contrast checker → · Palette generator →

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