#B6A42C#B6A42C

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

Color values

HEX#B6A42C
RGBrgb(182, 164, 44)
HSLhsl(52, 61%, 44%)
HSVhsv(52, 76%, 71%)
CMYKcmyk(0%, 9.9%, 75.8%, 28.6%)
CIE-LABlab(67.04, -6.41, 60.38)
CIE-LCHlch(67.04, 60.72, 96.06°)
OKLaboklab(71.37% -0.0242 0.1324)
OKLCHoklch(71.37% 0.135 100.4)
XYZxyz(33.0231, 36.6794, 7.7228)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A42C #2C3EB6
analogous
#B65F2C #B6A42C #83B62C
triadic
#B6A42C #2CB6A4 #A42CB6
tetradic
#B6A42C #2CB65F #2C3EB6 #B62C83
square
#B6A42C #2CB65F #2C3EB6 #B62C83
split-complementary
#B6A42C #2C83B6 #5F2CB6
monochromatic
#534B14 #857820 #B6A42C #D4C24C #E0D37D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A42C#FFFFFF#000000##000000
##B6A42C1.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)
#B49F14
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#C4988D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a42c;
/* rgb */ color: rgb(182, 164, 44);
/* oklch */ color: oklch(71.4% 0.135 100.4);
Tailwind
colors: {
  custom: {
    50: '#d0be6f',
    500: '#b6a42c',
    950: '#000000',
  },
}
SCSS
$custom: #b6a42c;
$custom-light: #d0be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a42c",
  "rgb": {
    "r": 182,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 52.174,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71366,
    "c": 0.13457,
    "h": 100.4
  },
  "luminance": 0.36678
}

Semantic roles & 50–950 ramp

primary
#B6A42C
secondary
#7681C8
accent
#59E444
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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