#B0B545#B0B545

#B0B545 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.7% C 0.134 H 111.7°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B0B545
RGBrgb(176, 181, 69)
HSLhsl(63, 45%, 49%)
HSVhsv(63, 62%, 71%)
CMYKcmyk(2.8%, 0%, 61.9%, 29%)
CIE-LABlab(71.36, -16.44, 54.72)
CIE-LCHlch(71.36, 57.14, 106.73°)
OKLaboklab(74.74% -0.0496 0.1249)
OKLCHoklch(74.74% 0.134 111.7)
XYZxyz(35.5035, 42.7083, 12.0024)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B545 #4A45B5
analogous
#B58245 #B0B545 #78B545
triadic
#B0B545 #45B0B5 #B545B0
tetradic
#B0B545 #45B582 #4A45B5 #B54578
square
#B0B545 #45B582 #4A45B5 #B54578
split-complementary
#B0B545 #4578B5 #8245B5
monochromatic
#5A5C23 #858934 #B0B545 #C4C86F #D6D99B

Accessibility & contrast

On white

2.20
#B0B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B0B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B545
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B545#FFFFFF#000000##000000
##B0B5451.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#C3B04C
Tritanopia (blue-blind)
#BBAB9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b0b545;
/* rgb */ color: rgb(176, 181, 69);
/* oklch */ color: oklch(74.7% 0.134 111.7);
Tailwind
colors: {
  custom: {
    50: '#cacb7e',
    500: '#b0b545',
    950: '#000000',
  },
}
SCSS
$custom: #b0b545;
$custom-light: #cacb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b545",
  "rgb": {
    "r": 176,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 62.679,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7474,
    "c": 0.13433,
    "h": 111.7
  },
  "luminance": 0.42708
}

Semantic roles & 50–950 ramp

primary
#B0B545
secondary
#9391C5
accent
#53D559
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B0B545

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

Preview Lab → · Contrast checker → · Palette generator →

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