#B4C334#B4C334

#B4C334 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.0% C 0.160 H 115.5°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#B4C334
RGBrgb(180, 195, 52)
HSLhsl(66, 58%, 48%)
HSVhsv(66, 73%, 76%)
CMYKcmyk(7.7%, 0%, 73.3%, 23.5%)
CIE-LABlab(75.44, -22.73, 65.51)
CIE-LCHlch(75.44, 69.34, 109.13°)
OKLaboklab(78.05% -0.069 0.1448)
OKLCHoklch(78.05% 0.16 115.5)
XYZxyz(38.9584, 48.9821, 10.6503)
Luminance0.4898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C334 #4334C3
analogous
#C38A34 #B4C334 #6CC334
triadic
#B4C334 #34B4C3 #C334B4
tetradic
#B4C334 #34C38A #4334C3 #C3346C
square
#B4C334 #34C38A #4334C3 #C3346C
split-complementary
#B4C334 #346CC3 #8A34C3
monochromatic
#5B621A #879327 #B4C334 #C8D560 #D9E190

Accessibility & contrast

On white

1.95
#B4C334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#B4C334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C334
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C334#FFFFFF#000000##000000
##B4C3341.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B916
Deuteranopia (green-blind)
#D0BB40
Tritanopia (blue-blind)
#C0B8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b4c334;
/* rgb */ color: rgb(180, 195, 52);
/* oklch */ color: oklch(78.0% 0.160 115.5);
Tailwind
colors: {
  custom: {
    50: '#ced576',
    500: '#b4c334',
    950: '#000000',
  },
}
SCSS
$custom: #b4c334;
$custom-light: #ced576;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c334",
  "rgb": {
    "r": 180,
    "g": 195,
    "b": 52
  },
  "hsl": {
    "h": 66.294,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.78049,
    "c": 0.16037,
    "h": 115.5
  },
  "luminance": 0.48981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4C334

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

Preview Lab → · Contrast checker → · Palette generator →

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