#B6AF36#B6AF36

#B6AF36 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.8% C 0.138 H 106.0°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#B6AF36
RGBrgb(182, 175, 54)
HSLhsl(57, 54%, 46%)
HSVhsv(57, 70%, 71%)
CMYKcmyk(0%, 3.8%, 70.3%, 28.6%)
CIE-LABlab(70.09, -11.70, 59.66)
CIE-LCHlch(70.09, 60.79, 101.09°)
OKLaboklab(73.81% -0.0381 0.1327)
OKLCHoklch(73.81% 0.138 106)
XYZxyz(35.2886, 40.8726, 9.5197)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF36 #363DB6
analogous
#B66F36 #B6AF36 #7DB636
triadic
#B6AF36 #36B6AF #AF36B6
tetradic
#B6AF36 #36B66F #363DB6 #B6367D
square
#B6AF36 #36B66F #363DB6 #B6367D
split-complementary
#B6AF36 #367DB6 #6F36B6
monochromatic
#58541A #878228 #B6AF36 #CEC85B #DCD88A

Accessibility & contrast

On white

2.29
#B6AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#B6AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AF36
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AF36#FFFFFF#000000##000000
##B6AF361.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA922
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#C3A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af36;
/* rgb */ color: rgb(182, 175, 54);
/* oklch */ color: oklch(73.8% 0.138 106.0);
Tailwind
colors: {
  custom: {
    50: '#cfc675',
    500: '#b6af36',
    950: '#000000',
  },
}
SCSS
$custom: #b6af36;
$custom-light: #cfc675;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af36",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 56.719,
    "s": 54.237,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73811,
    "c": 0.13808,
    "h": 106
  },
  "luminance": 0.40871
}

Semantic roles & 50–950 ramp

primary
#B6AF36
secondary
#8185C6
accent
#52DE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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