#B6AF3D#B6AF3D

#B6AF3D is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.9% C 0.133 H 105.8°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#B6AF3D
RGBrgb(182, 175, 61)
HSLhsl(57, 50%, 48%)
HSVhsv(57, 66%, 71%)
CMYKcmyk(0%, 3.8%, 66.5%, 28.6%)
CIE-LABlab(70.14, -11.31, 56.95)
CIE-LCHlch(70.14, 58.06, 101.24°)
OKLaboklab(73.87% -0.0363 0.1282)
OKLCHoklch(73.87% 0.133 105.8)
XYZxyz(35.4650, 40.9432, 10.4487)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF3D #3D44B6
analogous
#B6733D #B6AF3D #80B63D
triadic
#B6AF3D #3DB6AF #AF3DB6
tetradic
#B6AF3D #3DB673 #3D44B6 #B63D80
square
#B6AF3D #3DB673 #3D44B6 #B63D80
split-complementary
#B6AF3D #3D80B6 #733DB6
monochromatic
#5A571E #88832E #B6AF3D #CBC565 #DBD793

Accessibility & contrast

On white

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

On black

9.19
#B6AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AF3D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AF3D#FFFFFF#000000##000000
##B6AF3D1.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92D
Deuteranopia (green-blind)
#C0AE44
Tritanopia (blue-blind)
#C3A498
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af3d;
/* rgb */ color: rgb(182, 175, 61);
/* oklch */ color: oklch(73.9% 0.133 105.8);
Tailwind
colors: {
  custom: {
    50: '#cfc679',
    500: '#b6af3d',
    950: '#000000',
  },
}
SCSS
$custom: #b6af3d;
$custom-light: #cfc679;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af3d",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 56.529,
    "s": 49.794,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73866,
    "c": 0.13322,
    "h": 105.8
  },
  "luminance": 0.40942
}

Semantic roles & 50–950 ramp

primary
#B6AF3D
secondary
#898CC6
accent
#57D94E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B6AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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