#B5A92F#B5A92F

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

Color values

HEX#B5A92F
RGBrgb(181, 169, 47)
HSLhsl(55, 59%, 45%)
HSVhsv(55, 74%, 71%)
CMYKcmyk(0%, 6.6%, 74%, 29%)
CIE-LABlab(68.32, -9.35, 60.50)
CIE-LCHlch(68.32, 61.21, 98.79°)
OKLaboklab(72.37% -0.0321 0.1332)
OKLCHoklch(72.37% 0.137 103.6)
XYZxyz(33.7586, 38.4063, 8.3237)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A92F #2F3BB5
analogous
#B5662F #B5A92F #7EB52F
triadic
#B5A92F #2FB5A9 #A92FB5
tetradic
#B5A92F #2FB566 #2F3BB5 #B52F7E
square
#B5A92F #2FB566 #2F3BB5 #B52F7E
split-complementary
#B5A92F #2F7EB5 #662FB5
monochromatic
#544E16 #847C22 #B5A92F #D1C650 #DED680

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A92F#FFFFFF#000000##000000
##B5A92F1.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)
#B8A318
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#C39D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5a92f;
/* rgb */ color: rgb(181, 169, 47);
/* oklch */ color: oklch(72.4% 0.137 103.6);
Tailwind
colors: {
  custom: {
    50: '#cfc271',
    500: '#b5a92f',
    950: '#000000',
  },
}
SCSS
$custom: #b5a92f;
$custom-light: #cfc271;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a92f",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 54.627,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72369,
    "c": 0.13706,
    "h": 103.6
  },
  "luminance": 0.38405
}

Semantic roles & 50–950 ramp

primary
#B5A92F
secondary
#7980C7
accent
#54E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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