#CBF268#CBF268

#CBF268 is a very light, vivid yellow-green. Relative luminance 0.772; OKLCH L 90.6% C 0.170 H 123.0°. Best body text is #000000 at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#CBF268
RGBrgb(203, 242, 104)
HSLhsl(77, 84%, 68%)
HSVhsv(77, 57%, 95%)
CMYKcmyk(16.1%, 0%, 57%, 5.1%)
CIE-LABlab(90.41, -32.45, 61.18)
CIE-LCHlch(90.41, 69.25, 117.94°)
OKLaboklab(90.62% -0.0926 0.1423)
OKLCHoklch(90.62% 0.17 123)
XYZxyz(58.8798, 77.2000, 24.8932)
Luminance0.7720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF268 #8F68F2
analogous
#F2D468 #CBF268 #86F268
triadic
#CBF268 #68CBF2 #F268CB
tetradic
#CBF268 #68F2D4 #8F68F2 #F26886
square
#CBF268 #68F2D4 #8F68F2 #F26886
split-complementary
#CBF268 #6886F2 #D468F2
monochromatic
#99CE12 #B8ED30 #CBF268 #DEF7A0 #F2FCD9

Accessibility & contrast

On white

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

On black

16.44
#CBF268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF268
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF268#FFFFFF#000000##000000
##CBF2681.001.2816.4416.44
#FFFFFF1.281.0021.0021.00
#00000016.4421.001.001.00
##00000016.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE559
Deuteranopia (green-blind)
#FAE371
Tritanopia (blue-blind)
#D4E7D4
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cbf268;
/* rgb */ color: rgb(203, 242, 104);
/* oklch */ color: oklch(90.6% 0.170 123.0);
Tailwind
colors: {
  custom: {
    50: '#ddf697',
    500: '#cbf268',
    950: '#000000',
  },
}
SCSS
$custom: #cbf268;
$custom-light: #ddf697;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf268",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 104
  },
  "hsl": {
    "h": 76.957,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90619,
    "c": 0.16977,
    "h": 123
  },
  "luminance": 0.772
}

Semantic roles & 50–950 ramp

primary
#CBF268
secondary
#5F34CA
accent
#05E143
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CBF268

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

Preview Lab → · Contrast checker → · Palette generator →

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