#B5C332#B5C332

#B5C332 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.1% C 0.161 H 115.1°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#B5C332
RGBrgb(181, 195, 50)
HSLhsl(66, 59%, 48%)
HSVhsv(66, 74%, 76%)
CMYKcmyk(7.2%, 0%, 74.4%, 23.5%)
CIE-LABlab(75.50, -22.40, 66.26)
CIE-LCHlch(75.50, 69.94, 108.68°)
OKLaboklab(78.12% -0.0683 0.146)
OKLCHoklch(78.12% 0.161 115.1)
XYZxyz(39.1480, 49.0849, 10.4291)
Luminance0.4908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C332 #4032C3
analogous
#C38832 #B5C332 #6CC332
triadic
#B5C332 #32B5C3 #C332B5
tetradic
#B5C332 #32C388 #4032C3 #C3326C
square
#B5C332 #32C388 #4032C3 #C3326C
split-complementary
#B5C332 #326CC3 #8832C3
monochromatic
#5B6219 #889226 #B5C332 #CAD55D #DAE28E

Accessibility & contrast

On white

1.94
#B5C332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#B5C332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C332
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C332#FFFFFF#000000##000000
##B5C3321.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B911
Deuteranopia (green-blind)
#D0BB3E
Tritanopia (blue-blind)
#C1B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b5c332;
/* rgb */ color: rgb(181, 195, 50);
/* oklch */ color: oklch(78.1% 0.161 115.1);
Tailwind
colors: {
  custom: {
    50: '#cfd575',
    500: '#b5c332',
    950: '#000000',
  },
}
SCSS
$custom: #b5c332;
$custom-light: #cfd575;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c332",
  "rgb": {
    "r": 181,
    "g": 195,
    "b": 50
  },
  "hsl": {
    "h": 65.793,
    "s": 59.184,
    "l": 48.039
  },
  "oklch": {
    "l": 0.78116,
    "c": 0.16118,
    "h": 115.1
  },
  "luminance": 0.49084
}

Semantic roles & 50–950 ramp

primary
#B5C332
secondary
#8B85CC
accent
#45E255
background
#FDFDF7
surface
#FAFAED
border
#D3D3C8
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C332

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

Preview Lab → · Contrast checker → · Palette generator →

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