#B5C334#B5C334

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

Color values

HEX#B5C334
RGBrgb(181, 195, 52)
HSLhsl(66, 58%, 48%)
HSVhsv(66, 73%, 76%)
CMYKcmyk(7.2%, 0%, 73.3%, 23.5%)
CIE-LABlab(75.52, -22.31, 65.60)
CIE-LCHlch(75.52, 69.29, 108.78°)
OKLaboklab(78.13% -0.0679 0.1449)
OKLCHoklch(78.13% 0.16 115.1)
XYZxyz(39.1921, 49.1026, 10.6613)
Luminance0.4910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C334 #4234C3
analogous
#C38934 #B5C334 #6DC334
triadic
#B5C334 #34B5C3 #C334B5
tetradic
#B5C334 #34C389 #4234C3 #C3346D
square
#B5C334 #34C389 #4234C3 #C3346D
split-complementary
#B5C334 #346DC3 #8934C3
monochromatic
#5B621A #889327 #B5C334 #C9D560 #D9E190

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5C334#FFFFFF#000000##000000
##B5C3341.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)
#D1B916
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#C1B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b5c334;
/* rgb */ color: rgb(181, 195, 52);
/* oklch */ color: oklch(78.1% 0.160 115.1);
Tailwind
colors: {
  custom: {
    50: '#cfd576',
    500: '#b5c334',
    950: '#000000',
  },
}
SCSS
$custom: #b5c334;
$custom-light: #cfd576;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c334",
  "rgb": {
    "r": 181,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 65.874,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78128,
    "c": 0.16006,
    "h": 115.1
  },
  "luminance": 0.49102
}

Semantic roles & 50–950 ramp

primary
#B5C334
secondary
#8E87CC
accent
#47E156
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B5C334

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

Preview Lab → · Contrast checker → · Palette generator →

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