#B6B42F#B6B42F

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

Color values

HEX#B6B42F
RGBrgb(182, 180, 47)
HSLhsl(59, 59%, 45%)
HSVhsv(59, 74%, 71%)
CMYKcmyk(0%, 1.1%, 74.2%, 28.6%)
CIE-LABlab(71.41, -14.60, 63.45)
CIE-LCHlch(71.41, 65.10, 102.96°)
OKLaboklab(74.86% -0.0469 0.1395)
OKLCHoklch(74.86% 0.147 108.6)
XYZxyz(36.1271, 42.7940, 9.0458)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B42F #2F31B6
analogous
#B6702F #B6B42F #75B62F
triadic
#B6B42F #2FB6B4 #B42FB6
tetradic
#B6B42F #2FB670 #2F31B6 #B62F75
square
#B6B42F #2FB670 #2F31B6 #B62F75
split-complementary
#B6B42F #2F75B6 #702FB6
monochromatic
#555416 #858422 #B6B42F #D2D050 #DEDD81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B42F#FFFFFF#000000##000000
##B6B42F1.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)
#C3AD12
Deuteranopia (green-blind)
#C5B13A
Tritanopia (blue-blind)
#C3A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6b42f;
/* rgb */ color: rgb(182, 180, 47);
/* oklch */ color: oklch(74.9% 0.147 108.6);
Tailwind
colors: {
  custom: {
    50: '#d0ca72',
    500: '#b6b42f',
    950: '#000000',
  },
}
SCSS
$custom: #b6b42f;
$custom-light: #d0ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b42f",
  "rgb": {
    "r": 182,
    "g": 180,
    "b": 47
  },
  "hsl": {
    "h": 59.111,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74857,
    "c": 0.14715,
    "h": 108.6
  },
  "luminance": 0.42793
}

Semantic roles & 50–950 ramp

primary
#B6B42F
secondary
#797BC7
accent
#48E246
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B42F

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

Preview Lab → · Contrast checker → · Palette generator →

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