#B1A852#B1A852

#B1A852 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.1% C 0.109 H 103.3°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B1A852
RGBrgb(177, 168, 82)
HSLhsl(54, 38%, 51%)
HSVhsv(54, 54%, 69%)
CMYKcmyk(0%, 5.1%, 53.7%, 30.6%)
CIE-LABlab(67.99, -8.30, 45.00)
CIE-LCHlch(67.99, 45.76, 100.45°)
OKLaboklab(72.12% -0.025 0.1056)
OKLCHoklch(72.12% 0.109 103.3)
XYZxyz(33.6581, 37.9627, 13.5356)
Luminance0.3796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A852 #525BB1
analogous
#B17852 #B1A852 #8AB152
triadic
#B1A852 #52B1A8 #A852B1
tetradic
#B1A852 #52B178 #525BB1 #B1528A
square
#B1A852 #52B178 #525BB1 #B1528A
split-complementary
#B1A852 #528AB1 #7852B1
monochromatic
#5E592A #88813D #B1A852 #C4BD7C #D7D2A6

Accessibility & contrast

On white

2.44
#B1A852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B1A852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A852
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A852#FFFFFF#000000##000000
##B1A8521.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34A
Deuteranopia (green-blind)
#B8A856
Tritanopia (blue-blind)
#BD9E95
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1a852;
/* rgb */ color: rgb(177, 168, 82);
/* oklch */ color: oklch(72.1% 0.109 103.3);
Tailwind
colors: {
  custom: {
    50: '#cac185',
    500: '#b1a852',
    950: '#000000',
  },
}
SCSS
$custom: #b1a852;
$custom-light: #cac185;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a852",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 54.316,
    "s": 37.849,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72121,
    "c": 0.10856,
    "h": 103.3
  },
  "luminance": 0.37962
}

Semantic roles & 50–950 ramp

primary
#B1A852
secondary
#9A9EC4
accent
#65CE5A
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B1A852

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

Preview Lab → · Contrast checker → · Palette generator →

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