#CBF371#CBF371

#CBF371 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 90.9% C 0.163 H 123.8°. Best body text is #000000 at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#CBF371
RGBrgb(203, 243, 113)
HSLhsl(78, 84%, 70%)
HSVhsv(78, 53%, 95%)
CMYKcmyk(16.5%, 0%, 53.5%, 4.7%)
CIE-LABlab(90.78, -32.13, 57.63)
CIE-LCHlch(90.78, 65.98, 119.14°)
OKLaboklab(90.94% -0.0909 0.1356)
OKLCHoklch(90.94% 0.163 123.8)
XYZxyz(59.6600, 77.9896, 27.5300)
Luminance0.7799 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF371 #9971F3
analogous
#F3DA71 #CBF371 #8AF371
triadic
#CBF371 #71CBF3 #F371CB
tetradic
#CBF371 #71F3DA #9971F3 #F3718A
square
#CBF371 #71F3DA #9971F3 #F3718A
split-complementary
#CBF371 #718AF3 #DA71F3
monochromatic
#9BD712 #B6EE39 #CBF371 #E0F8A9 #F4FDE2

Accessibility & contrast

On white

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

On black

16.60
#CBF371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF371
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF371#FFFFFF#000000##000000
##CBF3711.001.2716.6016.60
#FFFFFF1.271.0021.0021.00
#00000016.6021.001.001.00
##00000016.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FAE479
Tritanopia (blue-blind)
#D3E9D6
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #cbf371;
/* rgb */ color: rgb(203, 243, 113);
/* oklch */ color: oklch(90.9% 0.163 123.8);
Tailwind
colors: {
  custom: {
    50: '#ddf79d',
    500: '#cbf371',
    950: '#000000',
  },
}
SCSS
$custom: #cbf371;
$custom-light: #ddf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf371",
  "rgb": {
    "r": 203,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 78.462,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.90938,
    "c": 0.16321,
    "h": 123.8
  },
  "luminance": 0.7799
}

Semantic roles & 50–950 ramp

primary
#CBF371
secondary
#683BCD
accent
#05E148
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF371

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

Preview Lab → · Contrast checker → · Palette generator →

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