#CBF162#CBF162

#CBF162 is a very light, vivid yellow-green. Relative luminance 0.765; OKLCH L 90.3% C 0.173 H 122.5°. Best body text is #000000 at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#CBF162
RGBrgb(203, 241, 98)
HSLhsl(76, 84%, 66%)
HSVhsv(76, 59%, 95%)
CMYKcmyk(15.8%, 0%, 59.3%, 5.5%)
CIE-LABlab(90.09, -32.46, 63.37)
CIE-LCHlch(90.09, 71.20, 117.13°)
OKLaboklab(90.34% -0.0931 0.1463)
OKLCHoklch(90.34% 0.173 122.5)
XYZxyz(58.2890, 76.4888, 23.2459)
Luminance0.7649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF162 #8862F1
analogous
#F1D062 #CBF162 #84F162
triadic
#CBF162 #62CBF1 #F162CB
tetradic
#CBF162 #62F1D0 #8862F1 #F16284
square
#CBF162 #62F1D0 #8862F1 #F16284
split-complementary
#CBF162 #6284F1 #D062F1
monochromatic
#97C712 #B8EC2A #CBF162 #DEF69A #F0FBD2

Accessibility & contrast

On white

1.29
#CBF162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.30
#CBF162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF162
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF162#FFFFFF#000000##000000
##CBF1621.001.2916.3016.30
#FFFFFF1.291.0021.0021.00
#00000016.3021.001.001.00
##00000016.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE452
Deuteranopia (green-blind)
#F9E36C
Tritanopia (blue-blind)
#D4E6D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf162;
/* rgb */ color: rgb(203, 241, 98);
/* oklch */ color: oklch(90.3% 0.173 122.5);
Tailwind
colors: {
  custom: {
    50: '#def594',
    500: '#cbf162',
    950: '#000000',
  },
}
SCSS
$custom: #cbf162;
$custom-light: #def594;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf162",
  "rgb": {
    "r": 203,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 75.944,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.90337,
    "c": 0.17347,
    "h": 122.5
  },
  "luminance": 0.76489
}

Semantic roles & 50–950 ramp

primary
#CBF162
secondary
#5A33C4
accent
#05E040
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF162

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

Preview Lab → · Contrast checker → · Palette generator →

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