#B6A62F#B6A62F

#B6A62F is a light, vivid yellow. Relative luminance 0.374; OKLCH L 71.8% C 0.134 H 101.4°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B6A62F
RGBrgb(182, 166, 47)
HSLhsl(53, 59%, 45%)
HSVhsv(53, 74%, 71%)
CMYKcmyk(0%, 8.8%, 74.2%, 28.6%)
CIE-LABlab(67.59, -7.33, 59.84)
CIE-LCHlch(67.59, 60.29, 96.99°)
OKLaboklab(71.81% -0.0265 0.1318)
OKLCHoklch(71.81% 0.134 101.4)
XYZxyz(33.4423, 37.4243, 8.1508)
Luminance0.3742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A62F #2F3FB6
analogous
#B6632F #B6A62F #82B62F
triadic
#B6A62F #2FB6A6 #A62FB6
tetradic
#B6A62F #2FB663 #2F3FB6 #B62F82
square
#B6A62F #2FB663 #2F3FB6 #B62F82
split-complementary
#B6A62F #2F82B6 #632FB6
monochromatic
#554D16 #857A22 #B6A62F #D2C350 #DED381

Accessibility & contrast

On white

2.48
#B6A62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B6A62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A62F
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A62F#FFFFFF#000000##000000
##B6A62F1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#BAA737
Tritanopia (blue-blind)
#C49A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b6a62f;
/* rgb */ color: rgb(182, 166, 47);
/* oklch */ color: oklch(71.8% 0.134 101.4);
Tailwind
colors: {
  custom: {
    50: '#d0c070',
    500: '#b6a62f',
    950: '#000000',
  },
}
SCSS
$custom: #b6a62f;
$custom-light: #d0c070;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a62f",
  "rgb": {
    "r": 182,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 52.889,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.71814,
    "c": 0.13444,
    "h": 101.4
  },
  "luminance": 0.37423
}

Semantic roles & 50–950 ramp

primary
#B6A62F
secondary
#7983C7
accent
#58E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A62F

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

Preview Lab → · Contrast checker → · Palette generator →

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