#CBF974#CBF974

#CBF974 is a very light, vivid yellow-green. Relative luminance 0.817; OKLCH L 92.3% C 0.168 H 125.4°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#CBF974
RGBrgb(203, 249, 116)
HSLhsl(81, 92%, 72%)
HSVhsv(81, 53%, 98%)
CMYKcmyk(18.5%, 0%, 53.4%, 2.4%)
CIE-LABlab(92.45, -34.61, 58.23)
CIE-LCHlch(92.45, 67.74, 120.72°)
OKLaboklab(92.3% -0.0976 0.1371)
OKLCHoklch(92.3% 0.168 125.4)
XYZxyz(61.6567, 81.7082, 29.0426)
Luminance0.8171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF974 #A274F9
analogous
#F9E574 #CBF974 #89F974
triadic
#CBF974 #74CBF9 #F974CB
tetradic
#CBF974 #74F9E5 #A274F9 #F97489
square
#CBF974 #74F9E5 #A274F9 #F97489
split-complementary
#CBF974 #7489F9 #E574F9
monochromatic
#9CE90A #B5F639 #CBF974 #E1FCAF #F4FEE2

Accessibility & contrast

On white

1.21
#CBF974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.34
#CBF974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF974
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF974#FFFFFF#000000##000000
##CBF9741.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB67
Deuteranopia (green-blind)
#FEE97C
Tritanopia (blue-blind)
#D2EFDB
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #cbf974;
/* rgb */ color: rgb(203, 249, 116);
/* oklch */ color: oklch(92.3% 0.168 125.4);
Tailwind
colors: {
  custom: {
    50: '#ddfb9f',
    500: '#cbf974',
    950: '#000000',
  },
}
SCSS
$custom: #cbf974;
$custom-light: #ddfb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf974",
  "rgb": {
    "r": 203,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 80.752,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92295,
    "c": 0.16829,
    "h": 125.4
  },
  "luminance": 0.81709
}

Semantic roles & 50–950 ramp

primary
#CBF974
secondary
#713DD5
accent
#00E64F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF974

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

Preview Lab → · Contrast checker → · Palette generator →

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