#B6A738#B6A738

#B6A738 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.1% C 0.129 H 101.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B6A738
RGBrgb(182, 167, 56)
HSLhsl(53, 53%, 47%)
HSVhsv(53, 69%, 71%)
CMYKcmyk(0%, 8.2%, 69.2%, 28.6%)
CIE-LABlab(67.92, -7.42, 56.72)
CIE-LCHlch(67.92, 57.20, 97.45°)
OKLaboklab(72.1% -0.0258 0.1269)
OKLCHoklch(72.1% 0.129 101.5)
XYZxyz(33.8254, 37.8695, 9.2684)
Luminance0.3787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A738 #3847B6
analogous
#B66838 #B6A738 #86B638
triadic
#B6A738 #38B6A7 #A738B6
tetradic
#B6A738 #38B668 #3847B6 #B63886
square
#B6A738 #38B668 #3847B6 #B63886
split-complementary
#B6A738 #3886B6 #6838B6
monochromatic
#58511B #877C2A #B6A738 #CDC05E #DCD28D

Accessibility & contrast

On white

2.45
#B6A738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B6A738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A738
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A738#FFFFFF#000000##000000
##B6A7381.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A228
Deuteranopia (green-blind)
#BBA83F
Tritanopia (blue-blind)
#C49B91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b6a738;
/* rgb */ color: rgb(182, 167, 56);
/* oklch */ color: oklch(72.1% 0.129 101.5);
Tailwind
colors: {
  custom: {
    50: '#cfc075',
    500: '#b6a738',
    950: '#000000',
  },
}
SCSS
$custom: #b6a738;
$custom-light: #cfc075;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a738",
  "rgb": {
    "r": 182,
    "g": 167,
    "b": 56
  },
  "hsl": {
    "h": 52.857,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72096,
    "c": 0.12945,
    "h": 101.5
  },
  "luminance": 0.37868
}

Semantic roles & 50–950 ramp

primary
#B6A738
secondary
#848BC6
accent
#5DDC4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B6A738

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

Preview Lab → · Contrast checker → · Palette generator →

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