#CBF272#CBF272

#CBF272 is a very light, vivid yellow-green. Relative luminance 0.774; OKLCH L 90.7% C 0.161 H 123.7°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#CBF272
RGBrgb(203, 242, 114)
HSLhsl(78, 83%, 70%)
HSVhsv(78, 53%, 95%)
CMYKcmyk(16.1%, 0%, 52.9%, 5.1%)
CIE-LABlab(90.51, -31.58, 56.87)
CIE-LCHlch(90.51, 65.05, 119.04°)
OKLaboklab(90.73% -0.0893 0.134)
OKLCHoklch(90.73% 0.161 123.7)
XYZxyz(59.4182, 77.4154, 27.7287)
Luminance0.7742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF272 #9972F2
analogous
#F2D972 #CBF272 #8BF272
triadic
#CBF272 #72CBF2 #F272CB
tetradic
#CBF272 #72F2D9 #9972F2 #F2728B
square
#CBF272 #72F2D9 #9972F2 #F2728B
split-complementary
#CBF272 #728BF2 #D972F2
monochromatic
#9BD614 #B6ED3A #CBF272 #E0F7AA #F4FCE2

Accessibility & contrast

On white

1.27
#CBF272 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.48
#CBF272 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF272
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF272#FFFFFF#000000##000000
##CBF2721.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#F9E47A
Tritanopia (blue-blind)
#D3E8D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #cbf272;
/* rgb */ color: rgb(203, 242, 114);
/* oklch */ color: oklch(90.7% 0.161 123.7);
Tailwind
colors: {
  custom: {
    50: '#ddf69e',
    500: '#cbf272',
    950: '#000000',
  },
}
SCSS
$custom: #cbf272;
$custom-light: #ddf69e;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf272",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 114
  },
  "hsl": {
    "h": 78.281,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9073,
    "c": 0.16102,
    "h": 123.7
  },
  "luminance": 0.77416
}

Semantic roles & 50–950 ramp

primary
#CBF272
secondary
#683DCC
accent
#06E048
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF272

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

Preview Lab → · Contrast checker → · Palette generator →

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