#CBF478#CBF478

#CBF478 is a very light, vivid yellow-green. Relative luminance 0.788; OKLCH L 91.2% C 0.158 H 124.6°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#CBF478
RGBrgb(203, 244, 120)
HSLhsl(80, 85%, 71%)
HSVhsv(80, 51%, 96%)
CMYKcmyk(16.8%, 0%, 50.8%, 4.3%)
CIE-LABlab(91.12, -31.94, 54.86)
CIE-LCHlch(91.12, 63.48, 120.21°)
OKLaboklab(91.24% -0.0898 0.1301)
OKLCHoklch(91.24% 0.158 124.6)
XYZxyz(60.3695, 78.7535, 29.7861)
Luminance0.7875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBF478 #A178F4
analogous
#F4DF78 #CBF478 #8DF478
triadic
#CBF478 #78CBF4 #F478CB
tetradic
#CBF478 #78F4DF #A178F4 #F4788D
square
#CBF478 #78F4DF #A178F4 #F4788D
split-complementary
#CBF478 #788DF4 #DF78F4
monochromatic
#9CDF12 #B5EF3F #CBF478 #E1F9B1 #F4FDE3

Accessibility & contrast

On white

1.25
#CBF478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.75
#CBF478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBF478
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBF478#FFFFFF#000000##000000
##CBF4781.001.2516.7516.75
#FFFFFF1.251.0021.0021.00
#00000016.7521.001.001.00
##00000016.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FAE57F
Tritanopia (blue-blind)
#D2EAD8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #cbf478;
/* rgb */ color: rgb(203, 244, 120);
/* oklch */ color: oklch(91.2% 0.158 124.6);
Tailwind
colors: {
  custom: {
    50: '#ddf7a2',
    500: '#cbf478',
    950: '#000000',
  },
}
SCSS
$custom: #cbf478;
$custom-light: #ddf7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbf478",
  "rgb": {
    "r": 203,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 79.839,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91242,
    "c": 0.1581,
    "h": 124.6
  },
  "luminance": 0.78754
}

Semantic roles & 50–950 ramp

primary
#CBF478
secondary
#7041CF
accent
#04E14D
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#15170F
muted
#848580

Preview Lab

Preview with #CBF478

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

Preview Lab → · Contrast checker → · Palette generator →

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