#B6A230#B6A230

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

Color values

HEX#B6A230
RGBrgb(182, 162, 48)
HSLhsl(51, 58%, 45%)
HSVhsv(51, 74%, 71%)
CMYKcmyk(0%, 11%, 73.6%, 28.6%)
CIE-LABlab(66.52, -5.17, 58.44)
CIE-LCHlch(66.52, 58.67, 95.06°)
OKLaboklab(70.96% -0.0203 0.129)
OKLCHoklch(70.96% 0.131 98.9)
XYZxyz(32.7468, 36.0008, 8.0197)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A230 #3044B6
analogous
#B65F30 #B6A230 #87B630
triadic
#B6A230 #30B6A2 #A230B6
tetradic
#B6A230 #30B65F #3044B6 #B63087
square
#B6A230 #30B65F #3044B6 #B63087
split-complementary
#B6A230 #3087B6 #5F30B6
monochromatic
#554C16 #867723 #B6A230 #D1BE52 #DED082

Accessibility & contrast

On white

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

On black

8.20
#B6A230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A230
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A230#FFFFFF#000000##000000
##B6A2301.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b6a230;
/* rgb */ color: rgb(182, 162, 48);
/* oklch */ color: oklch(71.0% 0.131 98.9);
Tailwind
colors: {
  custom: {
    50: '#d0bd70',
    500: '#b6a230',
    950: '#000000',
  },
}
SCSS
$custom: #b6a230;
$custom-light: #d0bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a230",
  "rgb": {
    "r": 182,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 51.045,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70964,
    "c": 0.13062,
    "h": 98.9
  },
  "luminance": 0.35999
}

Semantic roles & 50–950 ramp

primary
#B6A230
secondary
#7B86C7
accent
#5DE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A230

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

Preview Lab → · Contrast checker → · Palette generator →

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