#B5C42E#B5C42E

#B5C42E is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.3% C 0.164 H 115.4°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#B5C42E
RGBrgb(181, 196, 46)
HSLhsl(66, 62%, 47%)
HSVhsv(66, 77%, 77%)
CMYKcmyk(7.7%, 0%, 76.5%, 23.1%)
CIE-LABlab(75.76, -23.06, 67.77)
CIE-LCHlch(75.76, 71.58, 108.79°)
OKLaboklab(78.32% -0.0705 0.1485)
OKLCHoklch(78.32% 0.164 115.4)
XYZxyz(39.2902, 49.5015, 10.0692)
Luminance0.4950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C42E #3D2EC4
analogous
#C4882E #B5C42E #6AC42E
triadic
#B5C42E #2EB5C4 #C42EB5
tetradic
#B5C42E #2EC488 #3D2EC4 #C42E6A
square
#B5C42E #2EC488 #3D2EC4 #C42E6A
split-complementary
#B5C42E #2E6AC4 #882EC4
monochromatic
#596117 #879222 #B5C42E #CBD858 #DAE389

Accessibility & contrast

On white

1.93
#B5C42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.90
#B5C42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C42E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C42E#FFFFFF#000000##000000
##B5C42E1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA01
Deuteranopia (green-blind)
#D1BC3C
Tritanopia (blue-blind)
#C1B8A8
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b5c42e;
/* rgb */ color: rgb(181, 196, 46);
/* oklch */ color: oklch(78.3% 0.164 115.4);
Tailwind
colors: {
  custom: {
    50: '#cfd573',
    500: '#b5c42e',
    950: '#000000',
  },
}
SCSS
$custom: #b5c42e;
$custom-light: #cfd573;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c42e",
  "rgb": {
    "r": 181,
    "g": 196,
    "b": 46
  },
  "hsl": {
    "h": 66,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.78316,
    "c": 0.16437,
    "h": 115.4
  },
  "luminance": 0.49501
}

Semantic roles & 50–950 ramp

primary
#B5C42E
secondary
#8881CD
accent
#43E553
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C42E

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

Preview Lab → · Contrast checker → · Palette generator →

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