#B9A236#B9A236

#B9A236 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.127 H 96.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B9A236
RGBrgb(185, 162, 54)
HSLhsl(49, 55%, 47%)
HSVhsv(49, 71%, 73%)
CMYKcmyk(0%, 12.4%, 70.8%, 27.5%)
CIE-LABlab(66.84, -3.55, 56.52)
CIE-LCHlch(66.84, 56.64, 93.60°)
OKLaboklab(71.3% -0.0152 0.126)
OKLCHoklch(71.3% 0.127 96.9)
XYZxyz(33.5954, 36.4230, 8.7501)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A236 #364DB9
analogous
#B96136 #B9A236 #8FB936
triadic
#B9A236 #36B9A2 #A236B9
tetradic
#B9A236 #36B961 #364DB9 #B9368F
square
#B9A236 #36B961 #364DB9 #B9368F
split-complementary
#B9A236 #368FB9 #6136B9
monochromatic
#5A4F1A #8A7928 #B9A236 #D0BB5D #DDCF8C

Accessibility & contrast

On white

2.53
#B9A236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B9A236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A236
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A236#FFFFFF#000000##000000
##B9A2361.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E26
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#C8968C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a236;
/* rgb */ color: rgb(185, 162, 54);
/* oklch */ color: oklch(71.3% 0.127 96.9);
Tailwind
colors: {
  custom: {
    50: '#d2bd74',
    500: '#b9a236',
    950: '#000000',
  },
}
SCSS
$custom: #b9a236;
$custom-light: #d2bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a236",
  "rgb": {
    "r": 185,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 49.466,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71298,
    "c": 0.1269,
    "h": 96.9
  },
  "luminance": 0.36421
}

Semantic roles & 50–950 ramp

primary
#B9A236
secondary
#838FC8
accent
#64DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A236

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

Preview Lab → · Contrast checker → · Palette generator →

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