#B6942B#B6942B

#B6942B is a light, vivid yellow. Relative luminance 0.313; OKLCH L 68.0% C 0.124 H 90.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B6942B
RGBrgb(182, 148, 43)
HSLhsl(45, 62%, 44%)
HSVhsv(45, 76%, 71%)
CMYKcmyk(0%, 18.7%, 76.4%, 28.6%)
CIE-LABlab(62.76, 2.15, 56.72)
CIE-LCHlch(62.76, 56.76, 87.83°)
OKLaboklab(67.98% 0 0.1244)
OKLCHoklch(67.98% 0.124 90)
XYZxyz(30.3191, 31.3012, 6.7298)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6942B #2B4DB6
analogous
#B64F2B #B6942B #93B62B
triadic
#B6942B #2BB694 #942BB6
tetradic
#B6942B #2BB64F #2B4DB6 #B62B93
square
#B6942B #2BB64F #2B4DB6 #B62B93
split-complementary
#B6942B #2B93B6 #4F2BB6
monochromatic
#534314 #846C1F #B6942B #D4B24A #E0C77B

Accessibility & contrast

On white

2.89
#B6942B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B6942B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6942B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6942B#FFFFFF#000000##000000
##B6942B1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59218
Deuteranopia (green-blind)
#AE9C31
Tritanopia (blue-blind)
#C58780
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b6942b;
/* rgb */ color: rgb(182, 148, 43);
/* oklch */ color: oklch(68.0% 0.124 90.0);
Tailwind
colors: {
  custom: {
    50: '#d0b36c',
    500: '#b6942b',
    950: '#000000',
  },
}
SCSS
$custom: #b6942b;
$custom-light: #d0b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#b6942b",
  "rgb": {
    "r": 182,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 45.324,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.67982,
    "c": 0.12438,
    "h": 90
  },
  "luminance": 0.31299
}

Semantic roles & 50–950 ramp

primary
#B6942B
secondary
#7589C8
accent
#6BE543
background
#FDFAF6
surface
#FAF5EC
border
#D3CFC7
text
#151007
muted
#837F7A

Preview Lab

Preview with #B6942B

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

Preview Lab → · Contrast checker → · Palette generator →

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