#B6B040#B6B040

#B6B040 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.1% C 0.132 H 106.2°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#B6B040
RGBrgb(182, 176, 64)
HSLhsl(57, 48%, 48%)
HSVhsv(57, 65%, 71%)
CMYKcmyk(0%, 3.3%, 64.8%, 28.6%)
CIE-LABlab(70.43, -11.65, 56.01)
CIE-LCHlch(70.43, 57.21, 101.75°)
OKLaboklab(74.11% -0.0369 0.1267)
OKLCHoklch(74.11% 0.132 106.2)
XYZxyz(35.7434, 41.3671, 10.9513)
Luminance0.4137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B040 #4046B6
analogous
#B67540 #B6B040 #81B640
triadic
#B6B040 #40B6B0 #B040B6
tetradic
#B6B040 #40B675 #4046B6 #B64081
square
#B6B040 #40B675 #4046B6 #B64081
split-complementary
#B6B040 #4081B6 #7540B6
monochromatic
#5B5820 #898430 #B6B040 #CAC569 #DAD796

Accessibility & contrast

On white

2.26
#B6B040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#B6B040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B040
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B040#FFFFFF#000000##000000
##B6B0401.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA31
Deuteranopia (green-blind)
#C1AE47
Tritanopia (blue-blind)
#C3A599
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b6b040;
/* rgb */ color: rgb(182, 176, 64);
/* oklch */ color: oklch(74.1% 0.132 106.2);
Tailwind
colors: {
  custom: {
    50: '#cfc77a',
    500: '#b6b040',
    950: '#000000',
  },
}
SCSS
$custom: #b6b040;
$custom-light: #cfc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b040",
  "rgb": {
    "r": 182,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 56.949,
    "s": 47.967,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7411,
    "c": 0.13195,
    "h": 106.2
  },
  "luminance": 0.41366
}

Semantic roles & 50–950 ramp

primary
#B6B040
secondary
#8C8FC6
accent
#57D850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B6B040

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

Preview Lab → · Contrast checker → · Palette generator →

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