#B0B952#B0B952

#B0B952 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 75.8% C 0.128 H 113.6°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#B0B952
RGBrgb(176, 185, 82)
HSLhsl(65, 42%, 52%)
HSVhsv(65, 56%, 73%)
CMYKcmyk(4.9%, 0%, 55.7%, 27.5%)
CIE-LABlab(72.59, -17.49, 50.27)
CIE-LCHlch(72.59, 53.23, 109.18°)
OKLaboklab(75.76% -0.0511 0.117)
OKLCHoklch(75.76% 0.128 113.6)
XYZxyz(36.7772, 44.5379, 14.6403)
Luminance0.4454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B952 #5B52B9
analogous
#B98F52 #B0B952 #7CB952
triadic
#B0B952 #52B0B9 #B952B0
tetradic
#B0B952 #52B98F #5B52B9 #B9527C
square
#B0B952 #52B98F #5B52B9 #B9527C
split-complementary
#B0B952 #527CB9 #8F52B9
monochromatic
#62672A #8B933B #B0B952 #C4CB7E #D8DCA9

Accessibility & contrast

On white

2.12
#B0B952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#B0B952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B952
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B952#FFFFFF#000000##000000
##B0B9521.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B147
Deuteranopia (green-blind)
#C5B358
Tritanopia (blue-blind)
#BAAFA2
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b0b952;
/* rgb */ color: rgb(176, 185, 82);
/* oklch */ color: oklch(75.8% 0.128 113.6);
Tailwind
colors: {
  custom: {
    50: '#cacd86',
    500: '#b0b952',
    950: '#000000',
  },
}
SCSS
$custom: #b0b952;
$custom-light: #cacd86;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b952",
  "rgb": {
    "r": 176,
    "g": 185,
    "b": 82
  },
  "hsl": {
    "h": 65.243,
    "s": 42.387,
    "l": 52.353
  },
  "oklch": {
    "l": 0.75762,
    "c": 0.1277,
    "h": 113.6
  },
  "luminance": 0.44537
}

Semantic roles & 50–950 ramp

primary
#B0B952
secondary
#A19DCA
accent
#56D261
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #B0B952

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

Preview Lab → · Contrast checker → · Palette generator →

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