#B6A12E#B6A12E

#B6A12E is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.7% C 0.131 H 98.4°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#B6A12E
RGBrgb(182, 161, 46)
HSLhsl(51, 60%, 45%)
HSVhsv(51, 75%, 71%)
CMYKcmyk(0%, 11.5%, 74.7%, 28.6%)
CIE-LABlab(66.24, -4.73, 58.91)
CIE-LCHlch(66.24, 59.10, 94.59°)
OKLaboklab(70.74% -0.0192 0.1296)
OKLCHoklch(70.74% 0.131 98.4)
XYZxyz(32.5310, 35.6337, 7.7487)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A12E #2E43B6
analogous
#B65D2E #B6A12E #87B62E
triadic
#B6A12E #2EB6A1 #A12EB6
tetradic
#B6A12E #2EB65D #2E43B6 #B62E87
square
#B6A12E #2EB65D #2E43B6 #B62E87
split-complementary
#B6A12E #2E87B6 #5D2EB6
monochromatic
#544B15 #857622 #B6A12E #D2BE4F #DFD080

Accessibility & contrast

On white

2.58
#B6A12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B6A12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A12E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A12E#FFFFFF#000000##000000
##B6A12E1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D19
Deuteranopia (green-blind)
#B7A436
Tritanopia (blue-blind)
#C4958B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b6a12e;
/* rgb */ color: rgb(182, 161, 46);
/* oklch */ color: oklch(70.7% 0.131 98.4);
Tailwind
colors: {
  custom: {
    50: '#d0bc6f',
    500: '#b6a12e',
    950: '#000000',
  },
}
SCSS
$custom: #b6a12e;
$custom-light: #d0bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a12e",
  "rgb": {
    "r": 182,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 50.735,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70737,
    "c": 0.13106,
    "h": 98.4
  },
  "luminance": 0.35632
}

Semantic roles & 50–950 ramp

primary
#B6A12E
secondary
#7884C8
accent
#5DE345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B6A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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