#B6A62C#B6A62C

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

Color values

HEX#B6A62C
RGBrgb(182, 166, 44)
HSLhsl(53, 61%, 44%)
HSVhsv(53, 76%, 71%)
CMYKcmyk(0%, 8.8%, 75.8%, 28.6%)
CIE-LABlab(67.58, -7.47, 60.88)
CIE-LCHlch(67.58, 61.34, 96.99°)
OKLaboklab(71.8% -0.0272 0.1335)
OKLCHoklch(71.8% 0.136 101.5)
XYZxyz(33.3838, 37.4009, 7.8430)
Luminance0.3740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A62C #2C3CB6
analogous
#B6612C #B6A62C #81B62C
triadic
#B6A62C #2CB6A6 #A62CB6
tetradic
#B6A62C #2CB661 #2C3CB6 #B62C81
square
#B6A62C #2CB661 #2C3CB6 #B62C81
split-complementary
#B6A62C #2C81B6 #612CB6
monochromatic
#534C14 #857920 #B6A62C #D4C44C #E0D47D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B6A62C#FFFFFF#000000##000000
##B6A62C1.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)
#B6A113
Deuteranopia (green-blind)
#BBA735
Tritanopia (blue-blind)
#C49A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b6a62c;
/* rgb */ color: rgb(182, 166, 44);
/* oklch */ color: oklch(71.8% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#d0c06f',
    500: '#b6a62c',
    950: '#000000',
  },
}
SCSS
$custom: #b6a62c;
$custom-light: #d0c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a62c",
  "rgb": {
    "r": 182,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 53.043,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.71795,
    "c": 0.13619,
    "h": 101.5
  },
  "luminance": 0.37399
}

Semantic roles & 50–950 ramp

primary
#B6A62C
secondary
#767FC8
accent
#56E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A62C

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

Preview Lab → · Contrast checker → · Palette generator →

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