#B2C03B#B2C03B

#B2C03B is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.3% C 0.153 H 115.3°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#B2C03B
RGBrgb(178, 192, 59)
HSLhsl(66, 53%, 49%)
HSVhsv(66, 69%, 75%)
CMYKcmyk(7.3%, 0%, 69.3%, 24.7%)
CIE-LABlab(74.50, -21.73, 62.04)
CIE-LCHlch(74.50, 65.74, 109.30°)
OKLaboklab(77.27% -0.0655 0.1387)
OKLCHoklch(77.27% 0.153 115.3)
XYZxyz(38.0001, 47.4806, 11.2997)
Luminance0.4748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C03B #493BC0
analogous
#C08C3B #B2C03B #70C03B
triadic
#B2C03B #3BB2C0 #C03BB2
tetradic
#B2C03B #3BC08C #493BC0 #C03B70
square
#B2C03B #3BC08C #493BC0 #C03B70
split-complementary
#B2C03B #3B70C0 #8C3BC0
monochromatic
#5B621E #87912D #B2C03B #C5D168 #D7DF97

Accessibility & contrast

On white

2.00
#B2C03B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#B2C03B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C03B
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C03B#FFFFFF#000000##000000
##B2C03B1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB625
Deuteranopia (green-blind)
#CDB845
Tritanopia (blue-blind)
#BDB5A6
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b2c03b;
/* rgb */ color: rgb(178, 192, 59);
/* oklch */ color: oklch(77.3% 0.153 115.3);
Tailwind
colors: {
  custom: {
    50: '#ccd279',
    500: '#b2c03b',
    950: '#000000',
  },
}
SCSS
$custom: #b2c03b;
$custom-light: #ccd279;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c03b",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 59
  },
  "hsl": {
    "h": 66.316,
    "s": 52.988,
    "l": 49.216
  },
  "oklch": {
    "l": 0.77268,
    "c": 0.15338,
    "h": 115.3
  },
  "luminance": 0.4748
}

Semantic roles & 50–950 ramp

primary
#B2C03B
secondary
#938CCA
accent
#4BDC5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C03B

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

Preview Lab → · Contrast checker → · Palette generator →

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