#B1A82D#B1A82D

#B1A82D is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.8% C 0.138 H 105.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#B1A82D
RGBrgb(177, 168, 45)
HSLhsl(56, 59%, 44%)
HSVhsv(56, 75%, 69%)
CMYKcmyk(0%, 5.1%, 74.6%, 30.6%)
CIE-LABlab(67.68, -10.67, 60.47)
CIE-LCHlch(67.68, 61.41, 100.01°)
OKLaboklab(71.78% -0.0358 0.133)
OKLCHoklch(71.78% 0.138 105.1)
XYZxyz(32.6091, 37.5431, 8.0110)
Luminance0.3754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A82D #2D36B1
analogous
#B1662D #B1A82D #78B12D
triadic
#B1A82D #2DB1A8 #A82DB1
tetradic
#B1A82D #2DB166 #2D36B1 #B12D78
square
#B1A82D #2DB166 #2D36B1 #B12D78
split-complementary
#B1A82D #2D78B1 #662DB1
monochromatic
#4F4B14 #807A21 #B1A82D #D1C84A #DDD77B

Accessibility & contrast

On white

2.47
#B1A82D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#B1A82D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A82D
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A82D#FFFFFF#000000##000000
##B1A82D1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A214
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#BE9C90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b1a82d;
/* rgb */ color: rgb(177, 168, 45);
/* oklch */ color: oklch(71.8% 0.138 105.1);
Tailwind
colors: {
  custom: {
    50: '#ccc16f',
    500: '#b1a82d',
    950: '#000000',
  },
}
SCSS
$custom: #b1a82d;
$custom-light: #ccc16f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a82d",
  "rgb": {
    "r": 177,
    "g": 168,
    "b": 45
  },
  "hsl": {
    "h": 55.909,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71775,
    "c": 0.13772,
    "h": 105.1
  },
  "luminance": 0.37542
}

Semantic roles & 50–950 ramp

primary
#B1A82D
secondary
#747AC6
accent
#50E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A82D

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

Preview Lab → · Contrast checker → · Palette generator →

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