#B6A42E#B6A42E

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

Color values

HEX#B6A42E
RGBrgb(182, 164, 46)
HSLhsl(52, 60%, 45%)
HSVhsv(52, 75%, 71%)
CMYKcmyk(0%, 9.9%, 74.7%, 28.6%)
CIE-LABlab(67.05, -6.32, 59.68)
CIE-LCHlch(67.05, 60.01, 96.05°)
OKLaboklab(71.38% -0.0238 0.1313)
OKLCHoklch(71.38% 0.133 100.3)
XYZxyz(33.0616, 36.6948, 7.9256)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A42E #2E40B6
analogous
#B6602E #B6A42E #84B62E
triadic
#B6A42E #2EB6A4 #A42EB6
tetradic
#B6A42E #2EB660 #2E40B6 #B62E84
square
#B6A42E #2EB660 #2E40B6 #B62E84
split-complementary
#B6A42E #2E84B6 #602EB6
monochromatic
#544C15 #857822 #B6A42E #D2C14F #DFD280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A42E#FFFFFF#000000##000000
##B6A42E1.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)
#B49F18
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#C4988D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b6a42e;
/* rgb */ color: rgb(182, 164, 46);
/* oklch */ color: oklch(71.4% 0.133 100.3);
Tailwind
colors: {
  custom: {
    50: '#d0be70',
    500: '#b6a42e',
    950: '#000000',
  },
}
SCSS
$custom: #b6a42e;
$custom-light: #d0be70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a42e",
  "rgb": {
    "r": 182,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 52.059,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.71378,
    "c": 0.13341,
    "h": 100.3
  },
  "luminance": 0.36693
}

Semantic roles & 50–950 ramp

primary
#B6A42E
secondary
#7883C8
accent
#5AE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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