#B4C337#B4C337

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

Color values

HEX#B4C337
RGBrgb(180, 195, 55)
HSLhsl(66, 56%, 49%)
HSVhsv(66, 72%, 76%)
CMYKcmyk(7.7%, 0%, 71.8%, 23.5%)
CIE-LABlab(75.46, -22.58, 64.49)
CIE-LCHlch(75.46, 68.33, 109.30°)
OKLaboklab(78.07% -0.0683 0.1431)
OKLCHoklch(78.07% 0.159 115.5)
XYZxyz(39.0281, 49.0100, 11.0176)
Luminance0.4901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C337 #4637C3
analogous
#C38C37 #B4C337 #6EC337
triadic
#B4C337 #37B4C3 #C337B4
tetradic
#B4C337 #37C38C #4637C3 #C3376E
square
#B4C337 #37C38C #4637C3 #C3376E
split-complementary
#B4C337 #376EC3 #8C37C3
monochromatic
#5C641C #88932A #B4C337 #C7D364 #D8E194

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4C337#FFFFFF#000000##000000
##B4C3371.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c337;
/* rgb */ color: rgb(180, 195, 55);
/* oklch */ color: oklch(78.1% 0.159 115.5);
Tailwind
colors: {
  custom: {
    50: '#ced577',
    500: '#b4c337',
    950: '#000000',
  },
}
SCSS
$custom: #b4c337;
$custom-light: #ced577;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c337",
  "rgb": {
    "r": 180,
    "g": 195,
    "b": 55
  },
  "hsl": {
    "h": 66.429,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.78069,
    "c": 0.1586,
    "h": 115.5
  },
  "luminance": 0.49009
}

Semantic roles & 50–950 ramp

primary
#B4C337
secondary
#918ACC
accent
#49DF59
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#141409
muted
#83837B

Preview Lab

Preview with #B4C337

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

Preview Lab → · Contrast checker → · Palette generator →

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