#CBF874#CBF874

#CBF874 is a very light, vivid yellow-green. Relative luminance 0.811; OKLCH L 92.1% C 0.167 H 125.2°. Best body text is #000000 at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#CBF874
RGBrgb(203, 248, 116)
HSLhsl(80, 90%, 71%)
HSVhsv(80, 53%, 97%)
CMYKcmyk(18.1%, 0%, 53.2%, 2.7%)
CIE-LABlab(92.17, -34.15, 57.91)
CIE-LCHlch(92.17, 67.23, 120.53°)
OKLaboklab(92.07% -0.0963 0.1364)
OKLCHoklch(92.07% 0.167 125.2)
XYZxyz(61.3484, 81.0917, 28.9398)
Luminance0.8109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF874 #A174F8
analogous
#F8E374 #CBF874 #89F874
triadic
#CBF874 #74CBF8 #F874CB
tetradic
#CBF874 #74F8E3 #A174F8 #F87489
square
#CBF874 #74F8E3 #A174F8 #F87489
split-complementary
#CBF874 #7489F8 #E374F8
monochromatic
#9CE60C #B5F53A #CBF874 #E1FBAE #F4FEE2

Accessibility & contrast

On white

1.22
#CBF874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.22
#CBF874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF874
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF874#FFFFFF#000000##000000
##CBF8741.001.2217.2217.22
#FFFFFF1.221.0021.0021.00
#00000017.2221.001.001.00
##00000017.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA67
Deuteranopia (green-blind)
#FEE87C
Tritanopia (blue-blind)
#D2EEDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf874;
/* rgb */ color: rgb(203, 248, 116);
/* oklch */ color: oklch(92.1% 0.167 125.2);
Tailwind
colors: {
  custom: {
    50: '#ddfa9f',
    500: '#cbf874',
    950: '#000000',
  },
}
SCSS
$custom: #cbf874;
$custom-light: #ddfa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf874",
  "rgb": {
    "r": 203,
    "g": 248,
    "b": 116
  },
  "hsl": {
    "h": 80.455,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92074,
    "c": 0.16699,
    "h": 125.2
  },
  "luminance": 0.81092
}

Semantic roles & 50–950 ramp

primary
#CBF874
secondary
#703DD3
accent
#00E64E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF874

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

Preview Lab → · Contrast checker → · Palette generator →

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