#B1B752#B1B752

#B1B752 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.4% C 0.125 H 112.1°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B1B752
RGBrgb(177, 183, 82)
HSLhsl(64, 41%, 52%)
HSVhsv(64, 55%, 72%)
CMYKcmyk(3.3%, 0%, 55.2%, 28.2%)
CIE-LABlab(72.11, -16.06, 49.75)
CIE-LCHlch(72.11, 52.28, 107.89°)
OKLaboklab(75.4% -0.0471 0.1159)
OKLCHoklch(75.4% 0.125 112.1)
XYZxyz(36.5888, 43.8240, 14.5125)
Luminance0.4382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1B752 #5852B7
analogous
#B78A52 #B1B752 #7FB752
triadic
#B1B752 #52B1B7 #B752B1
tetradic
#B1B752 #52B78A #5852B7 #B7527F
square
#B1B752 #52B78A #5852B7 #B7527F
split-complementary
#B1B752 #527FB7 #8A52B7
monochromatic
#61652A #8B903C #B1B752 #C4C97D #D8DBA8

Accessibility & contrast

On white

2.15
#B1B752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#B1B752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1B752
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1B752#FFFFFF#000000##000000
##B1B7521.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b1b752;
/* rgb */ color: rgb(177, 183, 82);
/* oklch */ color: oklch(75.4% 0.125 112.1);
Tailwind
colors: {
  custom: {
    50: '#cacc86',
    500: '#b1b752',
    950: '#000000',
  },
}
SCSS
$custom: #b1b752;
$custom-light: #cacc86;
$custom-dark: #000000;
JSON
{
  "hex": "#b1b752",
  "rgb": {
    "r": 177,
    "g": 183,
    "b": 82
  },
  "hsl": {
    "h": 63.564,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.75401,
    "c": 0.12511,
    "h": 112.1
  },
  "luminance": 0.43823
}

Semantic roles & 50–950 ramp

primary
#B1B752
secondary
#9F9CC9
accent
#57D15E
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#14130B
muted
#82827C

Preview Lab

Preview with #B1B752

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

Preview Lab → · Contrast checker → · Palette generator →

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