#B5C02E#B5C02E

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

Color values

HEX#B5C02E
RGBrgb(181, 192, 46)
HSLhsl(65, 61%, 47%)
HSVhsv(65, 76%, 75%)
CMYKcmyk(5.7%, 0%, 76%, 24.7%)
CIE-LABlab(74.65, -21.10, 66.75)
CIE-LCHlch(74.65, 70.00, 107.54°)
OKLaboklab(77.42% -0.065 0.1463)
OKLCHoklch(77.42% 0.16 114)
XYZxyz(38.4000, 47.7211, 9.7725)
Luminance0.4772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C02E #392EC0
analogous
#C0822E #B5C02E #6CC02E
triadic
#B5C02E #2EB5C0 #C02EB5
tetradic
#B5C02E #2EC082 #392EC0 #C02E6C
square
#B5C02E #2EC082 #392EC0 #C02E6C
split-complementary
#B5C02E #2E6CC0 #822EC0
monochromatic
#585D16 #868F22 #B5C02E #CDD655 #DBE286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C02E#FFFFFF#000000##000000
##B5C02E1.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)
#CEB605
Deuteranopia (green-blind)
#CEB93B
Tritanopia (blue-blind)
#C1B4A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b5c02e;
/* rgb */ color: rgb(181, 192, 46);
/* oklch */ color: oklch(77.4% 0.160 114.0);
Tailwind
colors: {
  custom: {
    50: '#cfd273',
    500: '#b5c02e',
    950: '#000000',
  },
}
SCSS
$custom: #b5c02e;
$custom-light: #cfd273;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c02e",
  "rgb": {
    "r": 181,
    "g": 192,
    "b": 46
  },
  "hsl": {
    "h": 64.521,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77423,
    "c": 0.16013,
    "h": 114
  },
  "luminance": 0.4772
}

Semantic roles & 50–950 ramp

primary
#B5C02E
secondary
#847ECC
accent
#43E44F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B5C02E

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

Preview Lab → · Contrast checker → · Palette generator →

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