#B5A92E#B5A92E

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

Color values

HEX#B5A92E
RGBrgb(181, 169, 46)
HSLhsl(55, 59%, 45%)
HSVhsv(55, 75%, 71%)
CMYKcmyk(0%, 6.6%, 74.6%, 29%)
CIE-LABlab(68.31, -9.39, 60.84)
CIE-LCHlch(68.31, 61.57, 98.78°)
OKLaboklab(72.36% -0.0324 0.1338)
OKLCHoklch(72.36% 0.138 103.6)
XYZxyz(33.7387, 38.3984, 8.2187)
Luminance0.3840 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A92E #2E3AB5
analogous
#B5662E #B5A92E #7DB52E
triadic
#B5A92E #2EB5A9 #A92EB5
tetradic
#B5A92E #2EB566 #2E3AB5 #B52E7D
square
#B5A92E #2EB566 #2E3AB5 #B52E7D
split-complementary
#B5A92E #2E7DB5 #662EB5
monochromatic
#534E15 #847B22 #B5A92E #D2C64E #DED67F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A92E#FFFFFF#000000##000000
##B5A92E1.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)
#B9A316
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#C39D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b5a92e;
/* rgb */ color: rgb(181, 169, 46);
/* oklch */ color: oklch(72.4% 0.138 103.6);
Tailwind
colors: {
  custom: {
    50: '#cfc270',
    500: '#b5a92e',
    950: '#000000',
  },
}
SCSS
$custom: #b5a92e;
$custom-light: #cfc270;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a92e",
  "rgb": {
    "r": 181,
    "g": 169,
    "b": 46
  },
  "hsl": {
    "h": 54.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72363,
    "c": 0.13765,
    "h": 103.6
  },
  "luminance": 0.38397
}

Semantic roles & 50–950 ramp

primary
#B5A92E
secondary
#787FC7
accent
#53E345
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A92E

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

Preview Lab → · Contrast checker → · Palette generator →

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