#B4C339#B4C339

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

Color values

HEX#B4C339
RGBrgb(180, 195, 57)
HSLhsl(67, 55%, 49%)
HSVhsv(67, 71%, 76%)
CMYKcmyk(7.7%, 0%, 70.8%, 23.5%)
CIE-LABlab(75.47, -22.48, 63.79)
CIE-LCHlch(75.47, 67.63, 109.41°)
OKLaboklab(78.08% -0.0679 0.142)
OKLCHoklch(78.08% 0.157 115.5)
XYZxyz(39.0770, 49.0295, 11.2752)
Luminance0.4903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C339 #4839C3
analogous
#C38D39 #B4C339 #6FC339
triadic
#B4C339 #39B4C3 #C339B4
tetradic
#B4C339 #39C38D #4839C3 #C3396F
square
#B4C339 #39C38D #4839C3 #C3396F
split-complementary
#B4C339 #396FC3 #8D39C3
monochromatic
#5D641D #88942B #B4C339 #C7D267 #D8E096

Accessibility & contrast

On white

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

On black

10.81
#B4C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C339
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C339#FFFFFF#000000##000000
##B4C3391.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1B921
Deuteranopia (green-blind)
#D0BB44
Tritanopia (blue-blind)
#BFB8A8
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b4c339;
/* rgb */ color: rgb(180, 195, 57);
/* oklch */ color: oklch(78.1% 0.157 115.5);
Tailwind
colors: {
  custom: {
    50: '#ced578',
    500: '#b4c339',
    950: '#000000',
  },
}
SCSS
$custom: #b4c339;
$custom-light: #ced578;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c339",
  "rgb": {
    "r": 180,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 66.522,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.78082,
    "c": 0.15738,
    "h": 115.5
  },
  "luminance": 0.49029
}

Semantic roles & 50–950 ramp

primary
#B4C339
secondary
#938CCC
accent
#4ADE5A
background
#FDFDF7
surface
#FAFAEE
border
#D3D3C9
text
#14140A
muted
#83837C

Preview Lab

Preview with #B4C339

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

Preview Lab → · Contrast checker → · Palette generator →

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