#B4C02A#B4C02A

#B4C02A is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.3% C 0.162 H 114.3°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#B4C02A
RGBrgb(180, 192, 42)
HSLhsl(65, 64%, 46%)
HSVhsv(65, 78%, 75%)
CMYKcmyk(6.2%, 0%, 78.1%, 24.7%)
CIE-LABlab(74.55, -21.68, 67.84)
CIE-LCHlch(74.55, 71.22, 107.72°)
OKLaboklab(77.32% -0.0669 0.148)
OKLCHoklch(77.32% 0.162 114.3)
XYZxyz(38.0911, 47.5705, 9.3655)
Luminance0.4757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C02A #362AC0
analogous
#C0812A #B4C02A #69C02A
triadic
#B4C02A #2AB4C0 #C02AB4
tetradic
#B4C02A #2AC081 #362AC0 #C02A69
square
#B4C02A #2AC081 #362AC0 #C02A69
split-complementary
#B4C02A #2A69C0 #812AC0
monochromatic
#565C14 #858E1F #B4C02A #CDD84F #DCE381

Accessibility & contrast

On white

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

On black

10.51
#B4C02A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C02A
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C02A#FFFFFF#000000##000000
##B4C02A1.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#C0B4A4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4c02a;
/* rgb */ color: rgb(180, 192, 42);
/* oklch */ color: oklch(77.3% 0.162 114.3);
Tailwind
colors: {
  custom: {
    50: '#ced271',
    500: '#b4c02a',
    950: '#000000',
  },
}
SCSS
$custom: #b4c02a;
$custom-light: #ced271;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c02a",
  "rgb": {
    "r": 180,
    "g": 192,
    "b": 42
  },
  "hsl": {
    "h": 64.8,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.77321,
    "c": 0.16241,
    "h": 114.3
  },
  "luminance": 0.4757
}

Semantic roles & 50–950 ramp

primary
#B4C02A
secondary
#807ACC
accent
#41E74E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #B4C02A

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

Preview Lab → · Contrast checker → · Palette generator →

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