#B6A92F#B6A92F

#B6A92F is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.137 H 103.1°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#B6A92F
RGBrgb(182, 169, 47)
HSLhsl(54, 59%, 45%)
HSVhsv(54, 74%, 71%)
CMYKcmyk(0%, 7.1%, 74.2%, 28.6%)
CIE-LABlab(68.41, -8.91, 60.61)
CIE-LCHlch(68.41, 61.26, 98.36°)
OKLaboklab(72.46% -0.031 0.1335)
OKLCHoklch(72.46% 0.137 103.1)
XYZxyz(33.9940, 38.5277, 8.3348)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A92F #2F3CB6
analogous
#B6652F #B6A92F #80B62F
triadic
#B6A92F #2FB6A9 #A92FB6
tetradic
#B6A92F #2FB665 #2F3CB6 #B62F80
square
#B6A92F #2FB665 #2F3CB6 #B62F80
split-complementary
#B6A92F #2F80B6 #652FB6
monochromatic
#554F16 #857C22 #B6A92F #D2C550 #DED581

Accessibility & contrast

On white

2.41
#B6A92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#B6A92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A92F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A92F#FFFFFF#000000##000000
##B6A92F1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A318
Deuteranopia (green-blind)
#BDA938
Tritanopia (blue-blind)
#C49D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b6a92f;
/* rgb */ color: rgb(182, 169, 47);
/* oklch */ color: oklch(72.5% 0.137 103.1);
Tailwind
colors: {
  custom: {
    50: '#d0c271',
    500: '#b6a92f',
    950: '#000000',
  },
}
SCSS
$custom: #b6a92f;
$custom-light: #d0c271;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a92f",
  "rgb": {
    "r": 182,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 54.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.72461,
    "c": 0.137,
    "h": 103.1
  },
  "luminance": 0.38526
}

Semantic roles & 50–950 ramp

primary
#B6A92F
secondary
#7981C7
accent
#55E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A92F

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

Preview Lab → · Contrast checker → · Palette generator →

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