#B4C02E#B4C02E

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

Color values

HEX#B4C02E
RGBrgb(180, 192, 46)
HSLhsl(65, 61%, 47%)
HSVhsv(65, 76%, 75%)
CMYKcmyk(6.2%, 0%, 76%, 24.7%)
CIE-LABlab(74.57, -21.52, 66.65)
CIE-LCHlch(74.57, 70.03, 107.89°)
OKLaboklab(77.34% -0.0662 0.1461)
OKLCHoklch(77.34% 0.16 114.4)
XYZxyz(38.1663, 47.6006, 9.7615)
Luminance0.4760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C02E #3A2EC0
analogous
#C0832E #B4C02E #6BC02E
triadic
#B4C02E #2EB4C0 #C02EB4
tetradic
#B4C02E #2EC083 #3A2EC0 #C02E6B
square
#B4C02E #2EC083 #3A2EC0 #C02E6B
split-complementary
#B4C02E #2E6BC0 #832EC0
monochromatic
#575D16 #868F22 #B4C02E #CCD655 #DBE286

Accessibility & contrast

On white

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

On black

10.52
#B4C02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C02E
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C02E#FFFFFF#000000##000000
##B4C02E1.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB605
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#C0B4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b4c02e;
/* rgb */ color: rgb(180, 192, 46);
/* oklch */ color: oklch(77.3% 0.160 114.4);
Tailwind
colors: {
  custom: {
    50: '#ced273',
    500: '#b4c02e',
    950: '#000000',
  },
}
SCSS
$custom: #b4c02e;
$custom-light: #ced273;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c02e",
  "rgb": {
    "r": 180,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 64.932,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77343,
    "c": 0.16042,
    "h": 114.4
  },
  "luminance": 0.476
}

Semantic roles & 50–950 ramp

primary
#B4C02E
secondary
#857ECC
accent
#43E451
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B4C02E

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

Preview Lab → · Contrast checker → · Palette generator →

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