#B3CB42#B3CB42

#B3CB42 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.9% C 0.161 H 118.8°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#B3CB42
RGBrgb(179, 203, 66)
HSLhsl(71, 57%, 53%)
HSVhsv(71, 67%, 80%)
CMYKcmyk(11.8%, 0%, 67.5%, 20.4%)
CIE-LABlab(77.69, -26.26, 62.63)
CIE-LCHlch(77.69, 67.92, 112.75°)
OKLaboklab(79.87% -0.0775 0.141)
OKLCHoklch(79.87% 0.161 118.8)
XYZxyz(40.9305, 52.6892, 13.1670)
Luminance0.5269 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3CB42 #5A42CB
analogous
#CB9E42 #B3CB42 #6ECB42
triadic
#B3CB42 #42B3CB #CB42B3
tetradic
#B3CB42 #42CB9E #5A42CB #CB426E
square
#B3CB42 #42CB9E #5A42CB #CB426E
split-complementary
#B3CB42 #426ECB #9E42CB
monochromatic
#647320 #8EA32D #B3CB42 #C6D872 #DAE5A2

Accessibility & contrast

On white

1.82
#B3CB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#B3CB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3CB42
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3CB42#FFFFFF#000000##000000
##B3CB421.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C02E
Deuteranopia (green-blind)
#D5C14C
Tritanopia (blue-blind)
#BDC0B0
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #b3cb42;
/* rgb */ color: rgb(179, 203, 66);
/* oklch */ color: oklch(79.9% 0.161 118.8);
Tailwind
colors: {
  custom: {
    50: '#cdda7e',
    500: '#b3cb42',
    950: '#000000',
  },
}
SCSS
$custom: #b3cb42;
$custom-light: #cdda7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3cb42",
  "rgb": {
    "r": 179,
    "g": 203,
    "b": 66
  },
  "hsl": {
    "h": 70.511,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79868,
    "c": 0.16091,
    "h": 118.8
  },
  "luminance": 0.52689
}

Semantic roles & 50–950 ramp

primary
#B3CB42
secondary
#42357C
accent
#48E062
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140A
muted
#83837D

Preview Lab

Preview with #B3CB42

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

Preview Lab → · Contrast checker → · Palette generator →

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