#CBF270#CBF270

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

Color values

HEX#CBF270
RGBrgb(203, 242, 112)
HSLhsl(78, 83%, 69%)
HSVhsv(78, 54%, 95%)
CMYKcmyk(16.1%, 0%, 53.7%, 5.1%)
CIE-LABlab(90.49, -31.76, 57.75)
CIE-LCHlch(90.49, 65.90, 118.81°)
OKLaboklab(90.71% -0.0899 0.1357)
OKLCHoklch(90.71% 0.163 123.5)
XYZxyz(59.3056, 77.3703, 27.1357)
Luminance0.7737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF270 #9770F2
analogous
#F2D870 #CBF270 #8AF270
triadic
#CBF270 #70CBF2 #F270CB
tetradic
#CBF270 #70F2D8 #9770F2 #F2708A
square
#CBF270 #70F2D8 #9770F2 #F2708A
split-complementary
#CBF270 #708AF2 #D870F2
monochromatic
#9AD413 #B7ED38 #CBF270 #DFF7A8 #F4FCE0

Accessibility & contrast

On white

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

On black

16.47
#CBF270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF270
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF270#FFFFFF#000000##000000
##CBF2701.001.2716.4716.47
#FFFFFF1.271.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cbf270;
/* rgb */ color: rgb(203, 242, 112);
/* oklch */ color: oklch(90.7% 0.163 123.5);
Tailwind
colors: {
  custom: {
    50: '#ddf69d',
    500: '#cbf270',
    950: '#000000',
  },
}
SCSS
$custom: #cbf270;
$custom-light: #ddf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf270",
  "rgb": {
    "r": 203,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 78,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90707,
    "c": 0.16282,
    "h": 123.5
  },
  "luminance": 0.77371
}

Semantic roles & 50–950 ramp

primary
#CBF270
secondary
#663BCB
accent
#06E047
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170E
muted
#84857F

Preview Lab

Preview with #CBF270

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

Preview Lab → · Contrast checker → · Palette generator →

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