#B1A92D#B1A92D

#B1A92D is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.0% C 0.139 H 105.6°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#B1A92D
RGBrgb(177, 169, 45)
HSLhsl(56, 59%, 44%)
HSVhsv(56, 75%, 69%)
CMYKcmyk(0%, 4.5%, 74.6%, 30.6%)
CIE-LABlab(67.96, -11.19, 60.73)
CIE-LCHlch(67.96, 61.76, 100.44°)
OKLaboklab(71.99% -0.0373 0.1335)
OKLCHoklch(71.99% 0.139 105.6)
XYZxyz(32.7945, 37.9138, 8.0727)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A92D #2D35B1
analogous
#B1672D #B1A92D #77B12D
triadic
#B1A92D #2DB1A9 #A92DB1
tetradic
#B1A92D #2DB167 #2D35B1 #B12D77
square
#B1A92D #2DB167 #2D35B1 #B12D77
split-complementary
#B1A92D #2D77B1 #672DB1
monochromatic
#4F4C14 #807A21 #B1A92D #D1C94A #DDD77B

Accessibility & contrast

On white

2.45
#B1A92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#B1A92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A92D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A92D#FFFFFF#000000##000000
##B1A92D1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A314
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#BE9D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b1a92d;
/* rgb */ color: rgb(177, 169, 45);
/* oklch */ color: oklch(72.0% 0.139 105.6);
Tailwind
colors: {
  custom: {
    50: '#ccc26f',
    500: '#b1a92d',
    950: '#000000',
  },
}
SCSS
$custom: #b1a92d;
$custom-light: #ccc26f;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a92d",
  "rgb": {
    "r": 177,
    "g": 169,
    "b": 45
  },
  "hsl": {
    "h": 56.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71993,
    "c": 0.13863,
    "h": 105.6
  },
  "luminance": 0.37913
}

Semantic roles & 50–950 ramp

primary
#B1A92D
secondary
#7479C6
accent
#4FE345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B1A92D

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

Preview Lab → · Contrast checker → · Palette generator →

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