#B9A02E#B9A02E

#B9A02E is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.131 H 96.2°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B9A02E
RGBrgb(185, 160, 46)
HSLhsl(49, 60%, 45%)
HSVhsv(49, 75%, 73%)
CMYKcmyk(0%, 13.5%, 75.1%, 27.5%)
CIE-LABlab(66.26, -2.87, 59.03)
CIE-LCHlch(66.26, 59.10, 92.78°)
OKLaboklab(70.82% -0.0141 0.1298)
OKLCHoklch(70.82% 0.131 96.2)
XYZxyz(33.0733, 35.6549, 7.7243)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A02E #2E47B9
analogous
#B95B2E #B9A02E #8CB92E
triadic
#B9A02E #2EB9A0 #A02EB9
tetradic
#B9A02E #2EB95B #2E47B9 #B92E8C
square
#B9A02E #2EB95B #2E47B9 #B92E8C
split-complementary
#B9A02E #2E8CB9 #5B2EB9
monochromatic
#574B16 #887622 #B9A02E #D4BC51 #E0CF82

Accessibility & contrast

On white

2.58
#B9A02E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B9A02E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A02E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A02E#FFFFFF#000000##000000
##B9A02E1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C19
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#C8938A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b9a02e;
/* rgb */ color: rgb(185, 160, 46);
/* oklch */ color: oklch(70.8% 0.131 96.2);
Tailwind
colors: {
  custom: {
    50: '#d2bb6f',
    500: '#b9a02e',
    950: '#000000',
  },
}
SCSS
$custom: #b9a02e;
$custom-light: #d2bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a02e",
  "rgb": {
    "r": 185,
    "g": 160,
    "b": 46
  },
  "hsl": {
    "h": 49.209,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70817,
    "c": 0.13053,
    "h": 96.2
  },
  "luminance": 0.35653
}

Semantic roles & 50–950 ramp

primary
#B9A02E
secondary
#7A88C9
accent
#61E344
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B9A02E

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

Preview Lab → · Contrast checker → · Palette generator →

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