#B6B631#B6B631

#B6B631 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.3% C 0.148 H 109.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#B6B631
RGBrgb(182, 182, 49)
HSLhsl(60, 58%, 45%)
HSVhsv(60, 73%, 71%)
CMYKcmyk(0%, 0%, 73.1%, 28.6%)
CIE-LABlab(71.98, -15.53, 63.29)
CIE-LCHlch(71.98, 65.17, 103.78°)
OKLaboklab(75.31% -0.0493 0.1395)
OKLCHoklch(75.31% 0.148 109.5)
XYZxyz(36.5751, 43.6238, 9.3987)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B631 #3131B6
analogous
#B67331 #B6B631 #73B631
triadic
#B6B631 #31B6B6 #B631B6
tetradic
#B6B631 #31B673 #3131B6 #B63173
square
#B6B631 #31B673 #3131B6 #B63173
split-complementary
#B6B631 #3173B6 #7331B6
monochromatic
#565617 #868624 #B6B631 #D1D153 #DEDE84

Accessibility & contrast

On white

2.16
#B6B631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#B6B631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B631
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B631#FFFFFF#000000##000000
##B6B6311.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE16
Deuteranopia (green-blind)
#C6B23B
Tritanopia (blue-blind)
#C3AA9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b6b631;
/* rgb */ color: rgb(182, 182, 49);
/* oklch */ color: oklch(75.3% 0.148 109.5);
Tailwind
colors: {
  custom: {
    50: '#cfcb73',
    500: '#b6b631',
    950: '#000000',
  },
}
SCSS
$custom: #b6b631;
$custom-light: #cfcb73;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b631",
  "rgb": {
    "r": 182,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 60,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75309,
    "c": 0.14797,
    "h": 109.5
  },
  "luminance": 0.43623
}

Semantic roles & 50–950 ramp

primary
#B6B631
secondary
#7C7CC7
accent
#47E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6B631

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

Preview Lab → · Contrast checker → · Palette generator →

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