#B5A92A#B5A92A

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

Color values

HEX#B5A92A
RGBrgb(181, 169, 42)
HSLhsl(55, 62%, 44%)
HSVhsv(55, 77%, 71%)
CMYKcmyk(0%, 6.6%, 76.8%, 29%)
CIE-LABlab(68.29, -9.56, 62.19)
CIE-LCHlch(68.29, 62.92, 98.74°)
OKLaboklab(72.34% -0.0332 0.1359)
OKLCHoklch(72.34% 0.14 103.7)
XYZxyz(33.6635, 38.3683, 7.8227)
Luminance0.3837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A92A #2A36B5
analogous
#B5632A #B5A92A #7BB52A
triadic
#B5A92A #2AB5A9 #A92AB5
tetradic
#B5A92A #2AB563 #2A36B5 #B52A7B
square
#B5A92A #2AB563 #2A36B5 #B52A7B
split-complementary
#B5A92A #2A7BB5 #632AB5
monochromatic
#524C13 #837B1E #B5A92A #D4C848 #E0D779

Accessibility & contrast

On white

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

On black

8.67
#B5A92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A92A
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A92A#FFFFFF#000000##000000
##B5A92A1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A30B
Deuteranopia (green-blind)
#BDA934
Tritanopia (blue-blind)
#C39D91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b5a92a;
/* rgb */ color: rgb(181, 169, 42);
/* oklch */ color: oklch(72.3% 0.140 103.7);
Tailwind
colors: {
  custom: {
    50: '#cfc26e',
    500: '#b5a92a',
    950: '#000000',
  },
}
SCSS
$custom: #b5a92a;
$custom-light: #cfc26e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a92a",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 54.82,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.72338,
    "c": 0.13988,
    "h": 103.7
  },
  "luminance": 0.38367
}

Semantic roles & 50–950 ramp

primary
#B5A92A
secondary
#737AC8
accent
#50E542
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A92A

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

Preview Lab → · Contrast checker → · Palette generator →

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