#CBF45B#CBF45B

#CBF45B is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 90.9% C 0.183 H 122.9°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#CBF45B
RGBrgb(203, 244, 91)
HSLhsl(76, 87%, 66%)
HSVhsv(76, 63%, 96%)
CMYKcmyk(16.8%, 0%, 62.7%, 4.3%)
CIE-LABlab(90.85, -34.35, 67.08)
CIE-LCHlch(90.85, 75.37, 117.12°)
OKLaboklab(90.93% -0.099 0.1533)
OKLCHoklch(90.93% 0.183 122.9)
XYZxyz(58.8682, 78.1530, 21.8792)
Luminance0.7815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF45B #845BF4
analogous
#F4D05B #CBF45B #7EF45B
triadic
#CBF45B #5BCBF4 #F45BCB
tetradic
#CBF45B #5BF4D0 #845BF4 #F45B7E
square
#CBF45B #5BF4D0 #845BF4 #F45B7E
split-complementary
#CBF45B #5B7EF4 #D05BF4
monochromatic
#95C70D #B9F022 #CBF45B #DDF894 #EFFCCE

Accessibility & contrast

On white

1.26
#CBF45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.63
#CBF45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF45B
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF45B#FFFFFF#000000##000000
##CBF45B1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE648
Deuteranopia (green-blind)
#FCE566
Tritanopia (blue-blind)
#D4E8D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cbf45b;
/* rgb */ color: rgb(203, 244, 91);
/* oklch */ color: oklch(90.9% 0.183 122.9);
Tailwind
colors: {
  custom: {
    50: '#def790',
    500: '#cbf45b',
    950: '#000000',
  },
}
SCSS
$custom: #cbf45b;
$custom-light: #def790;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf45b",
  "rgb": {
    "r": 203,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 76.078,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.90934,
    "c": 0.18255,
    "h": 122.9
  },
  "luminance": 0.78153
}

Semantic roles & 50–950 ramp

primary
#CBF45B
secondary
#572FC4
accent
#02E43E
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF45B

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

Preview Lab → · Contrast checker → · Palette generator →

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