#B6B031#B6B031

#B6B031 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.0% C 0.142 H 106.7°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#B6B031
RGBrgb(182, 176, 49)
HSLhsl(57, 58%, 45%)
HSVhsv(57, 73%, 71%)
CMYKcmyk(0%, 3.3%, 73.1%, 28.6%)
CIE-LABlab(70.33, -12.46, 61.73)
CIE-LCHlch(70.33, 62.97, 101.41°)
OKLaboklab(73.99% -0.0407 0.1362)
OKLCHoklch(73.99% 0.142 106.7)
XYZxyz(35.3725, 41.2188, 8.9979)
Luminance0.4122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6B031 #3137B6
analogous
#B66D31 #B6B031 #7AB631
triadic
#B6B031 #31B6B0 #B031B6
tetradic
#B6B031 #31B66D #3137B6 #B6317A
square
#B6B031 #31B66D #3137B6 #B6317A
split-complementary
#B6B031 #317AB6 #6D31B6
monochromatic
#565317 #868124 #B6B031 #D1CB53 #DEDA84

Accessibility & contrast

On white

2.27
#B6B031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#B6B031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6B031
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6B031#FFFFFF#000000##000000
##B6B0311.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA919
Deuteranopia (green-blind)
#C2AE3A
Tritanopia (blue-blind)
#C3A497
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b6b031;
/* rgb */ color: rgb(182, 176, 49);
/* oklch */ color: oklch(74.0% 0.142 106.7);
Tailwind
colors: {
  custom: {
    50: '#cfc772',
    500: '#b6b031',
    950: '#000000',
  },
}
SCSS
$custom: #b6b031;
$custom-light: #cfc772;
$custom-dark: #000000;
JSON
{
  "hex": "#b6b031",
  "rgb": {
    "r": 182,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 57.293,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73994,
    "c": 0.14216,
    "h": 106.7
  },
  "luminance": 0.41218
}

Semantic roles & 50–950 ramp

primary
#B6B031
secondary
#7C7FC7
accent
#4EE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B6B031

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

Preview Lab → · Contrast checker → · Palette generator →

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