#B6AF37#B6AF37

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

Color values

HEX#B6AF37
RGBrgb(182, 175, 55)
HSLhsl(57, 54%, 46%)
HSVhsv(57, 70%, 71%)
CMYKcmyk(0%, 3.8%, 69.8%, 28.6%)
CIE-LABlab(70.09, -11.65, 59.28)
CIE-LCHlch(70.09, 60.42, 101.11°)
OKLaboklab(73.82% -0.0379 0.1321)
OKLCHoklch(73.82% 0.137 106)
XYZxyz(35.3123, 40.8821, 9.6446)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF37 #373EB6
analogous
#B67037 #B6AF37 #7EB637
triadic
#B6AF37 #37B6AF #AF37B6
tetradic
#B6AF37 #37B670 #373EB6 #B6377E
square
#B6AF37 #37B670 #373EB6 #B6377E
split-complementary
#B6AF37 #377EB6 #7037B6
monochromatic
#58551B #878229 #B6AF37 #CEC85C #DCD88B

Accessibility & contrast

On white

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

On black

9.18
#B6AF37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AF37
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AF37#FFFFFF#000000##000000
##B6AF371.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6af37;
/* rgb */ color: rgb(182, 175, 55);
/* oklch */ color: oklch(73.8% 0.137 106.0);
Tailwind
colors: {
  custom: {
    50: '#cfc675',
    500: '#b6af37',
    950: '#000000',
  },
}
SCSS
$custom: #b6af37;
$custom-light: #cfc675;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af37",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 55
  },
  "hsl": {
    "h": 56.693,
    "s": 53.586,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73818,
    "c": 0.13741,
    "h": 106
  },
  "luminance": 0.40881
}

Semantic roles & 50–950 ramp

primary
#B6AF37
secondary
#8286C6
accent
#53DD4B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6AF37

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

Preview Lab → · Contrast checker → · Palette generator →

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