#B4B339#B4B339

#B4B339 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.5% C 0.140 H 108.9°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#B4B339
RGBrgb(180, 179, 57)
HSLhsl(60, 52%, 46%)
HSVhsv(60, 68%, 71%)
CMYKcmyk(0%, 0.6%, 68.3%, 29.4%)
CIE-LABlab(71.04, -14.46, 59.40)
CIE-LCHlch(71.04, 61.13, 103.68°)
OKLaboklab(74.53% -0.0455 0.1327)
OKLCHoklch(74.53% 0.14 108.9)
XYZxyz(35.6823, 42.2400, 10.1436)
Luminance0.4224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B339 #393AB4
analogous
#B47639 #B4B339 #78B439
triadic
#B4B339 #39B4B3 #B339B4
tetradic
#B4B339 #39B476 #393AB4 #B43978
square
#B4B339 #39B476 #393AB4 #B43978
split-complementary
#B4B339 #3978B4 #7639B4
monochromatic
#57571C #86852A #B4B339 #CCCB5E #DBDA8D

Accessibility & contrast

On white

2.22
#B4B339 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#B4B339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B339
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B339#FFFFFF#000000##000000
##B4B3391.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC26
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#C1A89B
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b339;
/* rgb */ color: rgb(180, 179, 57);
/* oklch */ color: oklch(74.5% 0.140 108.9);
Tailwind
colors: {
  custom: {
    50: '#cec977',
    500: '#b4b339',
    950: '#000000',
  },
}
SCSS
$custom: #b4b339;
$custom-light: #cec977;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b339",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 57
  },
  "hsl": {
    "h": 59.512,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74534,
    "c": 0.14031,
    "h": 108.9
  },
  "luminance": 0.42239
}

Semantic roles & 50–950 ramp

primary
#B4B339
secondary
#8384C5
accent
#4EDB4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B339

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

Preview Lab → · Contrast checker → · Palette generator →

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