#B6B42D#B6B42D

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

Color values

HEX#B6B42D
RGBrgb(182, 180, 45)
HSLhsl(59, 60%, 45%)
HSVhsv(59, 75%, 71%)
CMYKcmyk(0%, 1.1%, 75.3%, 28.6%)
CIE-LABlab(71.40, -14.69, 64.10)
CIE-LCHlch(71.40, 65.76, 102.90°)
OKLaboklab(74.85% -0.0474 0.1405)
OKLCHoklch(74.85% 0.148 108.6)
XYZxyz(36.0877, 42.7782, 8.8382)
Luminance0.4278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B42D #2D2FB6
analogous
#B6702D #B6B42D #74B62D
triadic
#B6B42D #2DB6B4 #B42DB6
tetradic
#B6B42D #2DB670 #2D2FB6 #B62D74
square
#B6B42D #2DB670 #2D2FB6 #B62D74
split-complementary
#B6B42D #2D74B6 #702DB6
monochromatic
#545315 #858321 #B6B42D #D3D14D #DFDE7E

Accessibility & contrast

On white

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

On black

9.56
#B6B42D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B42D
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B42D#FFFFFF#000000##000000
##B6B42D1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC0C
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#C3A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6b42d;
/* rgb */ color: rgb(182, 180, 45);
/* oklch */ color: oklch(74.8% 0.148 108.6);
Tailwind
colors: {
  custom: {
    50: '#d0ca71',
    500: '#b6b42d',
    950: '#000000',
  },
}
SCSS
$custom: #b6b42d;
$custom-light: #d0ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b42d",
  "rgb": {
    "r": 182,
    "g": 180,
    "b": 45
  },
  "hsl": {
    "h": 59.124,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74845,
    "c": 0.14825,
    "h": 108.6
  },
  "luminance": 0.42777
}

Semantic roles & 50–950 ramp

primary
#B6B42D
secondary
#7778C8
accent
#47E344
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B42D

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

Preview Lab → · Contrast checker → · Palette generator →

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