#CBF262#CBF262

#CBF262 is a very light, vivid yellow-green. Relative luminance 0.771; OKLCH L 90.6% C 0.175 H 122.7°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#CBF262
RGBrgb(203, 242, 98)
HSLhsl(76, 85%, 67%)
HSVhsv(76, 60%, 95%)
CMYKcmyk(16.1%, 0%, 59.5%, 5.1%)
CIE-LABlab(90.36, -32.92, 63.67)
CIE-LCHlch(90.36, 71.68, 117.34°)
OKLaboklab(90.56% -0.0944 0.147)
OKLCHoklch(90.56% 0.175 122.7)
XYZxyz(58.5858, 77.0824, 23.3449)
Luminance0.7708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF262 #8962F2
analogous
#F2D162 #CBF262 #83F262
triadic
#CBF262 #62CBF2 #F262CB
tetradic
#CBF262 #62F2D1 #8962F2 #F26283
square
#CBF262 #62F2D1 #8962F2 #F26283
split-complementary
#CBF262 #6283F2 #D162F2
monochromatic
#97C911 #B8ED29 #CBF262 #DEF79B #F0FBD3

Accessibility & contrast

On white

1.28
#CBF262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#CBF262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF262
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF262#FFFFFF#000000##000000
##CBF2621.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE452
Deuteranopia (green-blind)
#FAE36C
Tritanopia (blue-blind)
#D4E7D3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #cbf262;
/* rgb */ color: rgb(203, 242, 98);
/* oklch */ color: oklch(90.6% 0.175 122.7);
Tailwind
colors: {
  custom: {
    50: '#def694',
    500: '#cbf262',
    950: '#000000',
  },
}
SCSS
$custom: #cbf262;
$custom-light: #def694;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf262",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 76.25,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.90558,
    "c": 0.1747,
    "h": 122.7
  },
  "luminance": 0.77083
}

Semantic roles & 50–950 ramp

primary
#CBF262
secondary
#5A33C6
accent
#04E140
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170D
muted
#84857F

Preview Lab

Preview with #CBF262

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

Preview Lab → · Contrast checker → · Palette generator →

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