#B6A229#B6A229

#B6A229 is a light, vivid yellow. Relative luminance 0.359; OKLCH L 70.9% C 0.135 H 99.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B6A229
RGBrgb(182, 162, 41)
HSLhsl(51, 63%, 44%)
HSVhsv(51, 77%, 71%)
CMYKcmyk(0%, 11%, 77.5%, 28.6%)
CIE-LABlab(66.48, -5.47, 60.89)
CIE-LCHlch(66.48, 61.14, 95.13°)
OKLaboklab(70.92% -0.0218 0.1329)
OKLCHoklch(70.92% 0.135 99.3)
XYZxyz(32.6136, 35.9475, 7.3181)
Luminance0.3595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A229 #293DB6
analogous
#B65B29 #B6A229 #83B629
triadic
#B6A229 #29B6A2 #A229B6
tetradic
#B6A229 #29B65B #293DB6 #B62983
square
#B6A229 #29B65B #293DB6 #B62983
split-complementary
#B6A229 #2983B6 #5B29B6
monochromatic
#524912 #84761E #B6A229 #D5C147 #E1D279

Accessibility & contrast

On white

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

On black

8.19
#B6A229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A229
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A229#FFFFFF#000000##000000
##B6A2291.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E0D
Deuteranopia (green-blind)
#B8A532
Tritanopia (blue-blind)
#C5968B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b6a229;
/* rgb */ color: rgb(182, 162, 41);
/* oklch */ color: oklch(70.9% 0.135 99.3);
Tailwind
colors: {
  custom: {
    50: '#d0bd6d',
    500: '#b6a229',
    950: '#000000',
  },
}
SCSS
$custom: #b6a229;
$custom-light: #d0bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a229",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 51.489,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70919,
    "c": 0.13465,
    "h": 99.3
  },
  "luminance": 0.35946
}

Semantic roles & 50–950 ramp

primary
#B6A229
secondary
#727EC9
accent
#59E642
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A229

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

Preview Lab → · Contrast checker → · Palette generator →

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