#B6B42E#B6B42E

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

Color values

HEX#B6B42E
RGBrgb(182, 180, 46)
HSLhsl(59, 60%, 45%)
HSVhsv(59, 75%, 71%)
CMYKcmyk(0%, 1.1%, 74.7%, 28.6%)
CIE-LABlab(71.41, -14.64, 63.78)
CIE-LCHlch(71.41, 65.44, 102.93°)
OKLaboklab(74.85% -0.0471 0.14)
OKLCHoklch(74.85% 0.148 108.6)
XYZxyz(36.1072, 42.7860, 8.9408)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B42E #2E30B6
analogous
#B6702E #B6B42E #74B62E
triadic
#B6B42E #2EB6B4 #B42EB6
tetradic
#B6B42E #2EB670 #2E30B6 #B62E74
square
#B6B42E #2EB670 #2E30B6 #B62E74
split-complementary
#B6B42E #2E74B6 #702EB6
monochromatic
#545315 #858422 #B6B42E #D2D14F #DFDD80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6B42E#FFFFFF#000000##000000
##B6B42E1.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)
#C3AC0F
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#C3A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b6b42e;
/* rgb */ color: rgb(182, 180, 46);
/* oklch */ color: oklch(74.9% 0.148 108.6);
Tailwind
colors: {
  custom: {
    50: '#d0ca71',
    500: '#b6b42e',
    950: '#000000',
  },
}
SCSS
$custom: #b6b42e;
$custom-light: #d0ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b42e",
  "rgb": {
    "r": 182,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 59.118,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74851,
    "c": 0.14771,
    "h": 108.6
  },
  "luminance": 0.42785
}

Semantic roles & 50–950 ramp

primary
#B6B42E
secondary
#7879C8
accent
#47E345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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