#B5C534#B5C534

#B5C534 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.6% C 0.162 H 115.8°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#B5C534
RGBrgb(181, 197, 52)
HSLhsl(67, 58%, 49%)
HSVhsv(67, 74%, 77%)
CMYKcmyk(8.1%, 0%, 73.6%, 22.7%)
CIE-LABlab(76.07, -23.29, 66.13)
CIE-LCHlch(76.07, 70.11, 109.40°)
OKLaboklab(78.57% -0.0706 0.1461)
OKLCHoklch(78.57% 0.162 115.8)
XYZxyz(39.6432, 50.0048, 10.8117)
Luminance0.5000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C534 #4434C5
analogous
#C58D34 #B5C534 #6DC534
triadic
#B5C534 #34B5C5 #C534B5
tetradic
#B5C534 #34C58D #4434C5 #C5346D
square
#B5C534 #34C58D #4434C5 #C5346D
split-complementary
#B5C534 #346DC5 #8D34C5
monochromatic
#5C641A #899527 #B5C534 #C8D561 #D9E291

Accessibility & contrast

On white

1.91
#B5C534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.00
#B5C534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C534
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C534#FFFFFF#000000##000000
##B5C5341.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB15
Deuteranopia (green-blind)
#D2BD40
Tritanopia (blue-blind)
#C1BAA9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #b5c534;
/* rgb */ color: rgb(181, 197, 52);
/* oklch */ color: oklch(78.6% 0.162 115.8);
Tailwind
colors: {
  custom: {
    50: '#cfd676',
    500: '#b5c534',
    950: '#000000',
  },
}
SCSS
$custom: #b5c534;
$custom-light: #cfd676;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c534",
  "rgb": {
    "r": 181,
    "g": 197,
    "b": 52
  },
  "hsl": {
    "h": 66.621,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78575,
    "c": 0.16223,
    "h": 115.8
  },
  "luminance": 0.50004
}

Semantic roles & 50–950 ramp

primary
#B5C534
secondary
#362F6F
accent
#46E157
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #B5C534

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

Preview Lab → · Contrast checker → · Palette generator →

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