#B6AA30#B6AA30

#B6AA30 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.7% C 0.137 H 103.6°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B6AA30
RGBrgb(182, 170, 48)
HSLhsl(55, 58%, 45%)
HSVhsv(55, 74%, 71%)
CMYKcmyk(0%, 6.6%, 73.6%, 28.6%)
CIE-LABlab(68.69, -9.39, 60.52)
CIE-LCHlch(68.69, 61.24, 98.82°)
OKLaboklab(72.68% -0.0322 0.1334)
OKLCHoklch(72.68% 0.137 103.6)
XYZxyz(34.2011, 38.9093, 8.5045)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6AA30 #303CB6
analogous
#B66730 #B6AA30 #7FB630
triadic
#B6AA30 #30B6AA #AA30B6
tetradic
#B6AA30 #30B667 #303CB6 #B6307F
square
#B6AA30 #30B667 #303CB6 #B6307F
split-complementary
#B6AA30 #307FB6 #6730B6
monochromatic
#555016 #867D23 #B6AA30 #D1C652 #DED682

Accessibility & contrast

On white

2.39
#B6AA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#B6AA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6AA30
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6AA30#FFFFFF#000000##000000
##B6AA301.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA419
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#C49E92
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b6aa30;
/* rgb */ color: rgb(182, 170, 48);
/* oklch */ color: oklch(72.7% 0.137 103.6);
Tailwind
colors: {
  custom: {
    50: '#d0c271',
    500: '#b6aa30',
    950: '#000000',
  },
}
SCSS
$custom: #b6aa30;
$custom-light: #d0c271;
$custom-dark: #000000;
JSON
{
  "hex": "#b6aa30",
  "rgb": {
    "r": 182,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 54.627,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72684,
    "c": 0.13727,
    "h": 103.6
  },
  "luminance": 0.38908
}

Semantic roles & 50–950 ramp

primary
#B6AA30
secondary
#7B81C7
accent
#54E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6AA30

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

Preview Lab → · Contrast checker → · Palette generator →

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