#B0B752#B0B752

#B0B752 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.125 H 112.7°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#B0B752
RGBrgb(176, 183, 82)
HSLhsl(64, 41%, 52%)
HSVhsv(64, 55%, 72%)
CMYKcmyk(3.8%, 0%, 55.2%, 28.2%)
CIE-LABlab(72.03, -16.48, 49.64)
CIE-LCHlch(72.03, 52.31, 108.36°)
OKLaboklab(75.32% -0.0483 0.1157)
OKLCHoklch(75.32% 0.125 112.7)
XYZxyz(36.3618, 43.7070, 14.5018)
Luminance0.4371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0B752 #5952B7
analogous
#B78B52 #B0B752 #7EB752
triadic
#B0B752 #52B0B7 #B752B0
tetradic
#B0B752 #52B78B #5952B7 #B7527E
square
#B0B752 #52B78B #5952B7 #B7527E
split-complementary
#B0B752 #527EB7 #8B52B7
monochromatic
#61652A #8A903C #B0B752 #C4C97D #D7DBA8

Accessibility & contrast

On white

2.16
#B0B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#B0B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B0B752
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0B752#FFFFFF#000000##000000
##B0B7521.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF48
Deuteranopia (green-blind)
#C3B258
Tritanopia (blue-blind)
#BAADA1
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b0b752;
/* rgb */ color: rgb(176, 183, 82);
/* oklch */ color: oklch(75.3% 0.125 112.7);
Tailwind
colors: {
  custom: {
    50: '#cacc86',
    500: '#b0b752',
    950: '#000000',
  },
}
SCSS
$custom: #b0b752;
$custom-light: #cacc86;
$custom-dark: #000000;
JSON
{
  "hex": "#b0b752",
  "rgb": {
    "r": 176,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 64.158,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75319,
    "c": 0.12534,
    "h": 112.7
  },
  "luminance": 0.43706
}

Semantic roles & 50–950 ramp

primary
#B0B752
secondary
#9F9CC9
accent
#57D15F
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #B0B752

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

Preview Lab → · Contrast checker → · Palette generator →

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