#B9A335#B9A335

#B9A335 is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.128 H 97.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B9A335
RGBrgb(185, 163, 53)
HSLhsl(50, 55%, 47%)
HSVhsv(50, 71%, 73%)
CMYKcmyk(0%, 11.9%, 71.4%, 27.5%)
CIE-LABlab(67.10, -4.14, 57.18)
CIE-LCHlch(67.10, 57.33, 94.14°)
OKLaboklab(71.5% -0.017 0.1272)
OKLCHoklch(71.5% 0.128 97.6)
XYZxyz(33.7490, 36.7674, 8.6866)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A335 #354BB9
analogous
#B96135 #B9A335 #8DB935
triadic
#B9A335 #35B9A3 #A335B9
tetradic
#B9A335 #35B961 #354BB9 #B9358D
square
#B9A335 #35B961 #354BB9 #B9358D
split-complementary
#B9A335 #358DB9 #6135B9
monochromatic
#5A4F1A #897927 #B9A335 #D0BD5B #DED08B

Accessibility & contrast

On white

2.51
#B9A335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B9A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A335
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A335#FFFFFF#000000##000000
##B9A3351.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F24
Deuteranopia (green-blind)
#B9A73C
Tritanopia (blue-blind)
#C8978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b9a335;
/* rgb */ color: rgb(185, 163, 53);
/* oklch */ color: oklch(71.5% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#d2bd73',
    500: '#b9a335',
    950: '#000000',
  },
}
SCSS
$custom: #b9a335;
$custom-light: #d2bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a335",
  "rgb": {
    "r": 185,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 50,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71502,
    "c": 0.12832,
    "h": 97.6
  },
  "luminance": 0.36766
}

Semantic roles & 50–950 ramp

primary
#B9A335
secondary
#828EC8
accent
#62DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #B9A335

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

Preview Lab → · Contrast checker → · Palette generator →

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