#B4B535#B4B535

#B4B535 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.9% C 0.145 H 109.9°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#B4B535
RGBrgb(180, 181, 53)
HSLhsl(60, 55%, 46%)
HSVhsv(60, 71%, 71%)
CMYKcmyk(0.6%, 0%, 70.7%, 29%)
CIE-LABlab(71.56, -15.69, 61.42)
CIE-LCHlch(71.56, 63.39, 104.33°)
OKLaboklab(74.94% -0.0493 0.1363)
OKLCHoklch(74.94% 0.145 109.9)
XYZxyz(35.9901, 43.0091, 9.7732)
Luminance0.4301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B535 #3635B5
analogous
#B57635 #B4B535 #74B535
triadic
#B4B535 #35B4B5 #B535B4
tetradic
#B4B535 #35B576 #3635B5 #B53574
square
#B4B535 #35B576 #3635B5 #B53574
split-complementary
#B4B535 #3574B5 #7635B5
monochromatic
#565619 #858627 #B4B535 #CDCE59 #DCDC88

Accessibility & contrast

On white

2.19
#B4B535 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#B4B535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B535
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B535#FFFFFF#000000##000000
##B4B5351.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD1F
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#C1AA9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b535;
/* rgb */ color: rgb(180, 181, 53);
/* oklch */ color: oklch(74.9% 0.145 109.9);
Tailwind
colors: {
  custom: {
    50: '#ceca75',
    500: '#b4b535',
    950: '#000000',
  },
}
SCSS
$custom: #b4b535;
$custom-light: #ceca75;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b535",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 60.469,
    "s": 54.701,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74945,
    "c": 0.14496,
    "h": 109.9
  },
  "luminance": 0.43008
}

Semantic roles & 50–950 ramp

primary
#B4B535
secondary
#8080C6
accent
#4ADE4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B4B535

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

Preview Lab → · Contrast checker → · Palette generator →

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