#B6A42D#B6A42D

#B6A42D is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.134 H 100.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B6A42D
RGBrgb(182, 164, 45)
HSLhsl(52, 60%, 45%)
HSVhsv(52, 75%, 71%)
CMYKcmyk(0%, 9.9%, 75.3%, 28.6%)
CIE-LABlab(67.04, -6.37, 60.03)
CIE-LCHlch(67.04, 60.37, 96.05°)
OKLaboklab(71.37% -0.024 0.1318)
OKLCHoklch(71.37% 0.134 100.3)
XYZxyz(33.0421, 36.6870, 7.8230)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A42D #2D3FB6
analogous
#B6602D #B6A42D #83B62D
triadic
#B6A42D #2DB6A4 #A42DB6
tetradic
#B6A42D #2DB660 #2D3FB6 #B62D83
square
#B6A42D #2DB660 #2D3FB6 #B62D83
split-complementary
#B6A42D #2D83B6 #602DB6
monochromatic
#544C15 #857821 #B6A42D #D3C14D #DFD27E

Accessibility & contrast

On white

2.52
#B6A42D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B6A42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A42D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A42D#FFFFFF#000000##000000
##B6A42D1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F16
Deuteranopia (green-blind)
#B9A635
Tritanopia (blue-blind)
#C4988D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a42d;
/* rgb */ color: rgb(182, 164, 45);
/* oklch */ color: oklch(71.4% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#d0be6f',
    500: '#b6a42d',
    950: '#000000',
  },
}
SCSS
$custom: #b6a42d;
$custom-light: #d0be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a42d",
  "rgb": {
    "r": 182,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 52.117,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71372,
    "c": 0.134,
    "h": 100.3
  },
  "luminance": 0.36685
}

Semantic roles & 50–950 ramp

primary
#B6A42D
secondary
#7782C8
accent
#59E344
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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