#B6B42C#B6B42C

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

Color values

HEX#B6B42C
RGBrgb(182, 180, 44)
HSLhsl(59, 61%, 44%)
HSVhsv(59, 76%, 71%)
CMYKcmyk(0%, 1.1%, 75.8%, 28.6%)
CIE-LABlab(71.40, -14.73, 64.42)
CIE-LCHlch(71.40, 66.08, 102.88°)
OKLaboklab(74.84% -0.0476 0.141)
OKLCHoklch(74.84% 0.149 108.6)
XYZxyz(36.0687, 42.7706, 8.7380)
Luminance0.4277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B42C #2C2EB6
analogous
#B66F2C #B6B42C #73B62C
triadic
#B6B42C #2CB6B4 #B42CB6
tetradic
#B6B42C #2CB66F #2C2EB6 #B62C73
square
#B6B42C #2CB66F #2C2EB6 #B62C73
split-complementary
#B6B42C #2C73B6 #6F2CB6
monochromatic
#535314 #858320 #B6B42C #D4D24C #E0DE7D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B42C#FFFFFF#000000##000000
##B6B42C1.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)
#C3AC09
Deuteranopia (green-blind)
#C5B137
Tritanopia (blue-blind)
#C3A89A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6b42c;
/* rgb */ color: rgb(182, 180, 44);
/* oklch */ color: oklch(74.8% 0.149 108.6);
Tailwind
colors: {
  custom: {
    50: '#d0ca70',
    500: '#b6b42c',
    950: '#000000',
  },
}
SCSS
$custom: #b6b42c;
$custom-light: #d0ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b42c",
  "rgb": {
    "r": 182,
    "g": 180,
    "b": 44
  },
  "hsl": {
    "h": 59.13,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74839,
    "c": 0.14879,
    "h": 108.6
  },
  "luminance": 0.42769
}

Semantic roles & 50–950 ramp

primary
#B6B42C
secondary
#7677C8
accent
#46E444
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B42C

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

Preview Lab → · Contrast checker → · Palette generator →

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