#B6AF33#B6AF33

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

Color values

HEX#B6AF33
RGBrgb(182, 175, 51)
HSLhsl(57, 56%, 46%)
HSVhsv(57, 72%, 71%)
CMYKcmyk(0%, 3.8%, 72%, 28.6%)
CIE-LABlab(70.07, -11.85, 60.76)
CIE-LCHlch(70.07, 61.90, 101.03°)
OKLaboklab(73.79% -0.0388 0.1345)
OKLCHoklch(73.79% 0.14 106.1)
XYZxyz(35.2203, 40.8453, 9.1600)
Luminance0.4084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF33 #333AB6
analogous
#B66D33 #B6AF33 #7BB633
triadic
#B6AF33 #33B6AF #AF33B6
tetradic
#B6AF33 #33B66D #333AB6 #B6337B
square
#B6AF33 #33B66D #333AB6 #B6337B
split-complementary
#B6AF33 #337BB6 #6D33B6
monochromatic
#565318 #868126 #B6AF33 #D0C956 #DDD986

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AF33#FFFFFF#000000##000000
##B6AF331.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)
#BEA81D
Deuteranopia (green-blind)
#C1AE3C
Tritanopia (blue-blind)
#C3A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af33;
/* rgb */ color: rgb(182, 175, 51);
/* oklch */ color: oklch(73.8% 0.140 106.1);
Tailwind
colors: {
  custom: {
    50: '#cfc673',
    500: '#b6af33',
    950: '#000000',
  },
}
SCSS
$custom: #b6af33;
$custom-light: #cfc673;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af33",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 56.794,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7379,
    "c": 0.14,
    "h": 106.1
  },
  "luminance": 0.40844
}

Semantic roles & 50–950 ramp

primary
#B6AF33
secondary
#7E82C7
accent
#50E048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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