#B4B335#B4B335

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

Color values

HEX#B4B335
RGBrgb(180, 179, 53)
HSLhsl(60, 55%, 46%)
HSVhsv(60, 71%, 71%)
CMYKcmyk(0%, 0.6%, 70.6%, 29.4%)
CIE-LABlab(71.01, -14.67, 60.88)
CIE-LCHlch(71.01, 62.62, 103.55°)
OKLaboklab(74.5% -0.0465 0.1352)
OKLCHoklch(74.5% 0.143 109)
XYZxyz(35.5864, 42.2016, 9.6386)
Luminance0.4220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B335 #3536B4
analogous
#B47435 #B4B335 #75B435
triadic
#B4B335 #35B4B3 #B335B4
tetradic
#B4B335 #35B474 #3536B4 #B43575
square
#B4B335 #35B474 #3536B4 #B43575
split-complementary
#B4B335 #3575B4 #7435B4
monochromatic
#555519 #858427 #B4B335 #CECD58 #DCDB88

Accessibility & contrast

On white

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

On black

9.44
#B4B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B335
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B335#FFFFFF#000000##000000
##B4B3351.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1F
Deuteranopia (green-blind)
#C3B03E
Tritanopia (blue-blind)
#C1A89A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b4b335;
/* rgb */ color: rgb(180, 179, 53);
/* oklch */ color: oklch(74.5% 0.143 109.0);
Tailwind
colors: {
  custom: {
    50: '#cec975',
    500: '#b4b335',
    950: '#000000',
  },
}
SCSS
$custom: #b4b335;
$custom-light: #cec975;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b335",
  "rgb": {
    "r": 180,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 59.528,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74504,
    "c": 0.14294,
    "h": 109
  },
  "luminance": 0.42201
}

Semantic roles & 50–950 ramp

primary
#B4B335
secondary
#7F80C6
accent
#4BDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B335

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

Preview Lab → · Contrast checker → · Palette generator →

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