#B9A237#B9A237

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

Color values

HEX#B9A237
RGBrgb(185, 162, 55)
HSLhsl(49, 54%, 47%)
HSVhsv(49, 70%, 73%)
CMYKcmyk(0%, 12.4%, 70.3%, 27.5%)
CIE-LABlab(66.85, -3.50, 56.13)
CIE-LCHlch(66.85, 56.24, 93.57°)
OKLaboklab(71.31% -0.015 0.1253)
OKLCHoklch(71.31% 0.126 96.8)
XYZxyz(33.6191, 36.4325, 8.8750)
Luminance0.3643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A237 #374EB9
analogous
#B96137 #B9A237 #8FB937
triadic
#B9A237 #37B9A2 #A237B9
tetradic
#B9A237 #37B961 #374EB9 #B9378F
square
#B9A237 #37B961 #374EB9 #B9378F
split-complementary
#B9A237 #378FB9 #6137B9
monochromatic
#5B4F1B #8A7929 #B9A237 #CFBB5E #DDCF8D

Accessibility & contrast

On white

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

On black

8.29
#B9A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A237
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A237#FFFFFF#000000##000000
##B9A2371.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9a237;
/* rgb */ color: rgb(185, 162, 55);
/* oklch */ color: oklch(71.3% 0.126 96.8);
Tailwind
colors: {
  custom: {
    50: '#d2bd74',
    500: '#b9a237',
    950: '#000000',
  },
}
SCSS
$custom: #b9a237;
$custom-light: #d2bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a237",
  "rgb": {
    "r": 185,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 49.385,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71306,
    "c": 0.12621,
    "h": 96.8
  },
  "luminance": 0.36431
}

Semantic roles & 50–950 ramp

primary
#B9A237
secondary
#8490C8
accent
#64DE4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #B9A237

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

Preview Lab → · Contrast checker → · Palette generator →

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