#B1AA38#B1AA38

#B1AA38 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 72.3% C 0.133 H 105.8°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B1AA38
RGBrgb(177, 170, 56)
HSLhsl(57, 52%, 46%)
HSVhsv(57, 68%, 69%)
CMYKcmyk(0%, 4%, 68.4%, 30.6%)
CIE-LABlab(68.30, -11.17, 56.96)
CIE-LCHlch(68.30, 58.04, 101.09°)
OKLaboklab(72.29% -0.0361 0.1275)
OKLCHoklch(72.29% 0.133 105.8)
XYZxyz(33.2213, 38.3833, 9.3994)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1AA38 #383FB1
analogous
#B16D38 #B1AA38 #7BB138
triadic
#B1AA38 #38B1AA #AA38B1
tetradic
#B1AA38 #38B16D #383FB1 #B1387B
square
#B1AA38 #38B16D #383FB1 #B1387B
split-complementary
#B1AA38 #387BB1 #6D38B1
monochromatic
#54511B #837D29 #B1AA38 #CBC55B #DAD58A

Accessibility & contrast

On white

2.42
#B1AA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#B1AA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1AA38
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1AA38#FFFFFF#000000##000000
##B1AA381.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A427
Deuteranopia (green-blind)
#BBA93F
Tritanopia (blue-blind)
#BE9F93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1aa38;
/* rgb */ color: rgb(177, 170, 56);
/* oklch */ color: oklch(72.3% 0.133 105.8);
Tailwind
colors: {
  custom: {
    50: '#ccc375',
    500: '#b1aa38',
    950: '#000000',
  },
}
SCSS
$custom: #b1aa38;
$custom-light: #ccc375;
$custom-dark: #000000;
JSON
{
  "hex": "#b1aa38",
  "rgb": {
    "r": 177,
    "g": 170,
    "b": 56
  },
  "hsl": {
    "h": 56.529,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72291,
    "c": 0.13254,
    "h": 105.8
  },
  "luminance": 0.38382
}

Semantic roles & 50–950 ramp

primary
#B1AA38
secondary
#8185C4
accent
#55DB4C
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B1AA38

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

Preview Lab → · Contrast checker → · Palette generator →

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