#B5C02B#B5C02B

#B5C02B is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.4% C 0.162 H 114.0°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#B5C02B
RGBrgb(181, 192, 43)
HSLhsl(64, 63%, 46%)
HSVhsv(64, 78%, 75%)
CMYKcmyk(5.7%, 0%, 77.6%, 24.7%)
CIE-LABlab(74.63, -21.22, 67.65)
CIE-LCHlch(74.63, 70.90, 107.41°)
OKLaboklab(77.41% -0.0656 0.1477)
OKLCHoklch(77.41% 0.162 114)
XYZxyz(38.3429, 47.6982, 9.4719)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C02B #362BC0
analogous
#C0802B #B5C02B #6AC02B
triadic
#B5C02B #2BB5C0 #C02BB5
tetradic
#B5C02B #2BC080 #362BC0 #C02B6A
square
#B5C02B #2BC080 #362BC0 #C02B6A
split-complementary
#B5C02B #2B6AC0 #802BC0
monochromatic
#575C15 #868E20 #B5C02B #CED850 #DCE382

Accessibility & contrast

On white

1.99
#B5C02B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#B5C02B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C02B
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C02B#FFFFFF#000000##000000
##B5C02B1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CEB939
Tritanopia (blue-blind)
#C1B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c02b;
/* rgb */ color: rgb(181, 192, 43);
/* oklch */ color: oklch(77.4% 0.162 114.0);
Tailwind
colors: {
  custom: {
    50: '#cfd271',
    500: '#b5c02b',
    950: '#000000',
  },
}
SCSS
$custom: #b5c02b;
$custom-light: #cfd271;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c02b",
  "rgb": {
    "r": 181,
    "g": 192,
    "b": 43
  },
  "hsl": {
    "h": 64.43,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77407,
    "c": 0.16163,
    "h": 114
  },
  "luminance": 0.47697
}

Semantic roles & 50–950 ramp

primary
#B5C02B
secondary
#817BCC
accent
#41E64E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C02B

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

Preview Lab → · Contrast checker → · Palette generator →

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