#B6AF3A#B6AF3A

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

Color values

HEX#B6AF3A
RGBrgb(182, 175, 58)
HSLhsl(57, 52%, 47%)
HSVhsv(57, 68%, 71%)
CMYKcmyk(0%, 3.8%, 68.1%, 28.6%)
CIE-LABlab(70.11, -11.49, 58.13)
CIE-LCHlch(70.11, 59.26, 101.18°)
OKLaboklab(73.84% -0.0371 0.1302)
OKLCHoklch(73.84% 0.135 105.9)
XYZxyz(35.3864, 40.9118, 10.0349)
Luminance0.4091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AF3A #3A41B6
analogous
#B6713A #B6AF3A #7FB63A
triadic
#B6AF3A #3AB6AF #AF3AB6
tetradic
#B6AF3A #3AB671 #3A41B6 #B63A7F
square
#B6AF3A #3AB671 #3A41B6 #B63A7F
split-complementary
#B6AF3A #3A7FB6 #713AB6
monochromatic
#59561C #88822B #B6AF3A #CDC661 #DBD78F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6AF3A#FFFFFF#000000##000000
##B6AF3A1.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)
#BEA929
Deuteranopia (green-blind)
#C1AE42
Tritanopia (blue-blind)
#C3A397
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #b6af3a;
/* rgb */ color: rgb(182, 175, 58);
/* oklch */ color: oklch(73.8% 0.135 105.9);
Tailwind
colors: {
  custom: {
    50: '#cfc677',
    500: '#b6af3a',
    950: '#000000',
  },
}
SCSS
$custom: #b6af3a;
$custom-light: #cfc677;
$custom-dark: #000000;
JSON
{
  "hex": "#b6af3a",
  "rgb": {
    "r": 182,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 56.613,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73842,
    "c": 0.13536,
    "h": 105.9
  },
  "luminance": 0.40911
}

Semantic roles & 50–950 ramp

primary
#B6AF3A
secondary
#8689C6
accent
#55DB4D
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B6AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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