#B6A234#B6A234

#B6A234 is a light, vivid yellow. Relative luminance 0.360; OKLCH L 71.0% C 0.128 H 98.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#B6A234
RGBrgb(182, 162, 52)
HSLhsl(51, 56%, 46%)
HSVhsv(51, 71%, 71%)
CMYKcmyk(0%, 11%, 71.4%, 28.6%)
CIE-LABlab(66.55, -4.98, 56.93)
CIE-LCHlch(66.55, 57.15, 95.00°)
OKLaboklab(70.99% -0.0193 0.1266)
OKLCHoklch(70.99% 0.128 98.7)
XYZxyz(32.8331, 36.0353, 8.4742)
Luminance0.3603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A234 #3448B6
analogous
#B66134 #B6A234 #89B634
triadic
#B6A234 #34B6A2 #A234B6
tetradic
#B6A234 #34B661 #3448B6 #B63489
square
#B6A234 #34B661 #3448B6 #B63489
split-complementary
#B6A234 #3489B6 #6134B6
monochromatic
#574D19 #867826 #B6A234 #CFBD58 #DDD088

Accessibility & contrast

On white

2.56
#B6A234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#B6A234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A234
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A234#FFFFFF#000000##000000
##B6A2341.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#B7A53B
Tritanopia (blue-blind)
#C4968C
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a234;
/* rgb */ color: rgb(182, 162, 52);
/* oklch */ color: oklch(71.0% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#cfbd72',
    500: '#b6a234',
    950: '#000000',
  },
}
SCSS
$custom: #b6a234;
$custom-light: #cfbd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a234",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 52
  },
  "hsl": {
    "h": 50.769,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70994,
    "c": 0.12806,
    "h": 98.7
  },
  "luminance": 0.36034
}

Semantic roles & 50–950 ramp

primary
#B6A234
secondary
#7F8AC7
accent
#60DF49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A234

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

Preview Lab → · Contrast checker → · Palette generator →

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