#B4B545#B4B545

#B4B545 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.1% C 0.134 H 109.7°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#B4B545
RGBrgb(180, 181, 69)
HSLhsl(61, 45%, 49%)
HSVhsv(61, 62%, 71%)
CMYKcmyk(0.6%, 0%, 61.9%, 29%)
CIE-LABlab(71.68, -14.75, 55.16)
CIE-LCHlch(71.68, 57.10, 104.97°)
OKLaboklab(75.08% -0.045 0.1257)
OKLCHoklch(75.08% 0.134 109.7)
XYZxyz(36.4215, 43.1817, 12.0454)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B545 #4645B5
analogous
#B57E45 #B4B545 #7CB545
triadic
#B4B545 #45B4B5 #B545B4
tetradic
#B4B545 #45B57E #4645B5 #B5457C
square
#B4B545 #45B57E #4645B5 #B5457C
split-complementary
#B4B545 #457CB5 #7E45B5
monochromatic
#5C5C23 #888934 #B4B545 #C7C86F #D8D99B

Accessibility & contrast

On white

2.18
#B4B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#B4B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B545
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B545#FFFFFF#000000##000000
##B4B5451.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#C0AA9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b4b545;
/* rgb */ color: rgb(180, 181, 69);
/* oklch */ color: oklch(75.1% 0.134 109.7);
Tailwind
colors: {
  custom: {
    50: '#cdcb7e',
    500: '#b4b545',
    950: '#000000',
  },
}
SCSS
$custom: #b4b545;
$custom-light: #cdcb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b545",
  "rgb": {
    "r": 180,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 60.536,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75076,
    "c": 0.1335,
    "h": 109.7
  },
  "luminance": 0.43181
}

Semantic roles & 50–950 ramp

primary
#B4B545
secondary
#9191C5
accent
#53D554
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B4B545

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

Preview Lab → · Contrast checker → · Palette generator →

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