#B5C92C#B5C92C

#B5C92C is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.4% C 0.171 H 117.0°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#B5C92C
RGBrgb(181, 201, 44)
HSLhsl(68, 64%, 48%)
HSVhsv(68, 78%, 79%)
CMYKcmyk(10%, 0%, 78.1%, 21.2%)
CIE-LABlab(77.15, -25.57, 69.62)
CIE-LCHlch(77.15, 74.17, 110.17°)
OKLaboklab(79.43% -0.0776 0.1521)
OKLCHoklch(79.43% 0.171 117)
XYZxyz(40.3984, 51.7794, 10.2486)
Luminance0.5178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C92C #402CC9
analogous
#C98E2C #B5C92C #67C92C
triadic
#B5C92C #2CB5C9 #C92CB5
tetradic
#B5C92C #2CC98E #402CC9 #C92C67
square
#B5C92C #2CC98E #402CC9 #C92C67
split-complementary
#B5C92C #2C67C9 #8E2CC9
monochromatic
#5B6516 #889721 #B5C92C #CADA58 #DAE58A

Accessibility & contrast

On white

1.85
#B5C92C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#B5C92C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C92C
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C92C#FFFFFF#000000##000000
##B5C92C1.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D5BF3B
Tritanopia (blue-blind)
#C1BDAC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #b5c92c;
/* rgb */ color: rgb(181, 201, 44);
/* oklch */ color: oklch(79.4% 0.171 117.0);
Tailwind
colors: {
  custom: {
    50: '#cfd973',
    500: '#b5c92c',
    950: '#000000',
  },
}
SCSS
$custom: #b5c92c;
$custom-light: #cfd973;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c92c",
  "rgb": {
    "r": 181,
    "g": 201,
    "b": 44
  },
  "hsl": {
    "h": 67.643,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79427,
    "c": 0.17072,
    "h": 117
  },
  "luminance": 0.51779
}

Semantic roles & 50–950 ramp

primary
#B5C92C
secondary
#332A6F
accent
#41E756
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C92C

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

Preview Lab → · Contrast checker → · Palette generator →

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