#B5C02C#B5C02C

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

Color values

HEX#B5C02C
RGBrgb(181, 192, 44)
HSLhsl(64, 63%, 46%)
HSVhsv(64, 77%, 75%)
CMYKcmyk(5.7%, 0%, 77.1%, 24.7%)
CIE-LABlab(74.64, -21.18, 67.35)
CIE-LCHlch(74.64, 70.60, 107.46°)
OKLaboklab(77.41% -0.0654 0.1473)
OKLCHoklch(77.41% 0.161 114)
XYZxyz(38.3615, 47.7057, 9.5697)
Luminance0.4770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C02C #372CC0
analogous
#C0812C #B5C02C #6BC02C
triadic
#B5C02C #2CB5C0 #C02CB5
tetradic
#B5C02C #2CC081 #372CC0 #C02C6B
square
#B5C02C #2CC081 #372CC0 #C02C6B
split-complementary
#B5C02C #2C6BC0 #812CC0
monochromatic
#575C15 #868E21 #B5C02C #CDD752 #DCE384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C02C#FFFFFF#000000##000000
##B5C02C1.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: #b5c02c;
/* rgb */ color: rgb(181, 192, 44);
/* oklch */ color: oklch(77.4% 0.161 114.0);
Tailwind
colors: {
  custom: {
    50: '#cfd272',
    500: '#b5c02c',
    950: '#000000',
  },
}
SCSS
$custom: #b5c02c;
$custom-light: #cfd272;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c02c",
  "rgb": {
    "r": 181,
    "g": 192,
    "b": 44
  },
  "hsl": {
    "h": 64.459,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.77412,
    "c": 0.16114,
    "h": 114
  },
  "luminance": 0.47705
}

Semantic roles & 50–950 ramp

primary
#B5C02C
secondary
#827CCC
accent
#42E64E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C02C

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

Preview Lab → · Contrast checker → · Palette generator →

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