#CBF45C#CBF45C

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

Color values

HEX#CBF45C
RGBrgb(203, 244, 92)
HSLhsl(76, 87%, 66%)
HSVhsv(76, 62%, 96%)
CMYKcmyk(16.8%, 0%, 62.3%, 4.3%)
CIE-LABlab(90.86, -34.28, 66.69)
CIE-LCHlch(90.86, 74.98, 117.21°)
OKLaboklab(90.94% -0.0987 0.1526)
OKLCHoklch(90.94% 0.182 122.9)
XYZxyz(58.9116, 78.1703, 22.1079)
Luminance0.7817 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF45C #855CF4
analogous
#F4D15C #CBF45C #7FF45C
triadic
#CBF45C #5CCBF4 #F45CCB
tetradic
#CBF45C #5CF4D1 #855CF4 #F45C7F
square
#CBF45C #5CF4D1 #855CF4 #F45C7F
split-complementary
#CBF45C #5C7FF4 #D15CF4
monochromatic
#96C80E #B9F023 #CBF45C #DDF895 #F0FCCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBF45C#FFFFFF#000000##000000
##CBF45C1.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)
#FFE649
Deuteranopia (green-blind)
#FCE567
Tritanopia (blue-blind)
#D4E9D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cbf45c;
/* rgb */ color: rgb(203, 244, 92);
/* oklch */ color: oklch(90.9% 0.182 122.9);
Tailwind
colors: {
  custom: {
    50: '#def790',
    500: '#cbf45c',
    950: '#000000',
  },
}
SCSS
$custom: #cbf45c;
$custom-light: #def790;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf45c",
  "rgb": {
    "r": 203,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 76.184,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90943,
    "c": 0.1818,
    "h": 122.9
  },
  "luminance": 0.78171
}

Semantic roles & 50–950 ramp

primary
#CBF45C
secondary
#582FC5
accent
#02E43F
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF45C

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

Preview Lab → · Contrast checker → · Palette generator →

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