#B6A52D#B6A52D

#B6A52D is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.135 H 100.9°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B6A52D
RGBrgb(182, 165, 45)
HSLhsl(53, 60%, 45%)
HSVhsv(53, 75%, 71%)
CMYKcmyk(0%, 9.3%, 75.3%, 28.6%)
CIE-LABlab(67.31, -6.90, 60.28)
CIE-LCHlch(67.31, 60.68, 96.53°)
OKLaboklab(71.59% -0.0255 0.1324)
OKLCHoklch(71.59% 0.135 100.9)
XYZxyz(33.2218, 37.0464, 7.8829)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A52D #2D3EB6
analogous
#B6612D #B6A52D #82B62D
triadic
#B6A52D #2DB6A5 #A52DB6
tetradic
#B6A52D #2DB661 #2D3EB6 #B62D82
square
#B6A52D #2DB661 #2D3EB6 #B62D82
split-complementary
#B6A52D #2D82B6 #612DB6
monochromatic
#544C15 #857921 #B6A52D #D3C24D #DFD37E

Accessibility & contrast

On white

2.50
#B6A52D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B6A52D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A52D
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A52D#FFFFFF#000000##000000
##B6A52D1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A015
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#C4998E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b6a52d;
/* rgb */ color: rgb(182, 165, 45);
/* oklch */ color: oklch(71.6% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#d0bf6f',
    500: '#b6a52d',
    950: '#000000',
  },
}
SCSS
$custom: #b6a52d;
$custom-light: #d0bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a52d",
  "rgb": {
    "r": 182,
    "g": 165,
    "b": 45
  },
  "hsl": {
    "h": 52.555,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71586,
    "c": 0.1348,
    "h": 100.9
  },
  "luminance": 0.37045
}

Semantic roles & 50–950 ramp

primary
#B6A52D
secondary
#7781C8
accent
#58E344
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A52D

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

Preview Lab → · Contrast checker → · Palette generator →

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