#B6B42B#B6B42B

#B6B42B is a light, vivid yellow. Relative luminance 0.428; OKLCH L 74.8% C 0.149 H 108.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#B6B42B
RGBrgb(182, 180, 43)
HSLhsl(59, 62%, 44%)
HSVhsv(59, 76%, 71%)
CMYKcmyk(0%, 1.1%, 76.4%, 28.6%)
CIE-LABlab(71.39, -14.77, 64.73)
CIE-LCHlch(71.39, 66.40, 102.85°)
OKLaboklab(74.83% -0.0478 0.1415)
OKLCHoklch(74.83% 0.149 108.7)
XYZxyz(36.0501, 42.7632, 8.6402)
Luminance0.4276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B42B #2B2DB6
analogous
#B66F2B #B6B42B #73B62B
triadic
#B6B42B #2BB6B4 #B42BB6
tetradic
#B6B42B #2BB66F #2B2DB6 #B62B73
square
#B6B42B #2BB66F #2B2DB6 #B62B73
split-complementary
#B6B42B #2B73B6 #6F2BB6
monochromatic
#535214 #84831F #B6B42B #D4D24A #E0DE7B

Accessibility & contrast

On white

2.20
#B6B42B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#B6B42B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B42B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B42B#FFFFFF#000000##000000
##B6B42B1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC05
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#C3A89A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6b42b;
/* rgb */ color: rgb(182, 180, 43);
/* oklch */ color: oklch(74.8% 0.149 108.7);
Tailwind
colors: {
  custom: {
    50: '#d0ca70',
    500: '#b6b42b',
    950: '#000000',
  },
}
SCSS
$custom: #b6b42b;
$custom-light: #d0ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b42b",
  "rgb": {
    "r": 182,
    "g": 180,
    "b": 43
  },
  "hsl": {
    "h": 59.137,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74833,
    "c": 0.1493,
    "h": 108.7
  },
  "luminance": 0.42762
}

Semantic roles & 50–950 ramp

primary
#B6B42B
secondary
#7576C8
accent
#45E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B42B

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

Preview Lab → · Contrast checker → · Palette generator →

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