#B5C934#B5C934

#B5C934 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 79.5% C 0.167 H 117.1°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#B5C934
RGBrgb(181, 201, 52)
HSLhsl(68, 59%, 50%)
HSVhsv(68, 74%, 79%)
CMYKcmyk(10%, 0%, 74.1%, 21.2%)
CIE-LABlab(77.19, -25.23, 67.19)
CIE-LCHlch(77.19, 71.77, 110.58°)
OKLaboklab(79.47% -0.076 0.1483)
OKLCHoklch(79.47% 0.167 117.1)
XYZxyz(40.5635, 51.8455, 11.1184)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C934 #4834C9
analogous
#C99334 #B5C934 #6AC934
triadic
#B5C934 #34B5C9 #C934B5
tetradic
#B5C934 #34C993 #4834C9 #C9346A
square
#B5C934 #34C993 #4834C9 #C9346A
split-complementary
#B5C934 #346AC9 #9334C9
monochromatic
#5D681B #899827 #B5C934 #C7D763 #D9E394

Accessibility & contrast

On white

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

On black

11.37
#B5C934 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C934
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C934#FFFFFF#000000##000000
##B5C9341.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE12
Deuteranopia (green-blind)
#D5BF41
Tritanopia (blue-blind)
#C0BEAD
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b5c934;
/* rgb */ color: rgb(181, 201, 52);
/* oklch */ color: oklch(79.5% 0.167 117.1);
Tailwind
colors: {
  custom: {
    50: '#cfd977',
    500: '#b5c934',
    950: '#000000',
  },
}
SCSS
$custom: #b5c934;
$custom-light: #cfd977;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c934",
  "rgb": {
    "r": 181,
    "g": 201,
    "b": 52
  },
  "hsl": {
    "h": 68.054,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79472,
    "c": 0.16663,
    "h": 117.1
  },
  "luminance": 0.51845
}

Semantic roles & 50–950 ramp

primary
#B5C934
secondary
#382F72
accent
#46E25B
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C934

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

Preview Lab → · Contrast checker → · Palette generator →

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