#B2C03A#B2C03A

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

Color values

HEX#B2C03A
RGBrgb(178, 192, 58)
HSLhsl(66, 54%, 49%)
HSVhsv(66, 70%, 75%)
CMYKcmyk(7.3%, 0%, 69.8%, 24.7%)
CIE-LABlab(74.49, -21.78, 62.41)
CIE-LCHlch(74.49, 66.10, 109.24°)
OKLaboklab(77.26% -0.0657 0.1393)
OKLCHoklch(77.26% 0.154 115.3)
XYZxyz(37.9744, 47.4704, 11.1644)
Luminance0.4747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2C03A #483AC0
analogous
#C08B3A #B2C03A #6FC03A
triadic
#B2C03A #3AB2C0 #C03AB2
tetradic
#B2C03A #3AC08B #483AC0 #C03A6F
square
#B2C03A #3AC08B #483AC0 #C03A6F
split-complementary
#B2C03A #3A6FC0 #8B3AC0
monochromatic
#5B621E #86912C #B2C03A #C6D166 #D7DF95

Accessibility & contrast

On white

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

On black

10.49
#B2C03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2C03A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2C03A#FFFFFF#000000##000000
##B2C03A1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2c03a;
/* rgb */ color: rgb(178, 192, 58);
/* oklch */ color: oklch(77.3% 0.154 115.3);
Tailwind
colors: {
  custom: {
    50: '#ccd279',
    500: '#b2c03a',
    950: '#000000',
  },
}
SCSS
$custom: #b2c03a;
$custom-light: #ccd279;
$custom-dark: #000000;
JSON
{
  "hex": "#b2c03a",
  "rgb": {
    "r": 178,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 66.269,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77261,
    "c": 0.15404,
    "h": 115.3
  },
  "luminance": 0.4747
}

Semantic roles & 50–950 ramp

primary
#B2C03A
secondary
#928BCA
accent
#4BDD5A
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #B2C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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