#B6A830#B6A830

#B6A830 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.3% C 0.136 H 102.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B6A830
RGBrgb(182, 168, 48)
HSLhsl(54, 58%, 45%)
HSVhsv(54, 74%, 71%)
CMYKcmyk(0%, 7.7%, 73.6%, 28.6%)
CIE-LABlab(68.14, -8.34, 60.00)
CIE-LCHlch(68.14, 60.58, 97.92°)
OKLaboklab(72.25% -0.0293 0.1323)
OKLCHoklch(72.25% 0.136 102.5)
XYZxyz(33.8291, 38.1652, 8.3804)
Luminance0.3816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A830 #303EB6
analogous
#B66530 #B6A830 #81B630
triadic
#B6A830 #30B6A8 #A830B6
tetradic
#B6A830 #30B665 #303EB6 #B63081
square
#B6A830 #30B665 #303EB6 #B63081
split-complementary
#B6A830 #3081B6 #6530B6
monochromatic
#554F16 #867B23 #B6A830 #D1C452 #DED582

Accessibility & contrast

On white

2.43
#B6A830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B6A830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A830
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A830#FFFFFF#000000##000000
##B6A8301.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#C49C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b6a830;
/* rgb */ color: rgb(182, 168, 48);
/* oklch */ color: oklch(72.3% 0.136 102.5);
Tailwind
colors: {
  custom: {
    50: '#d0c171',
    500: '#b6a830',
    950: '#000000',
  },
}
SCSS
$custom: #b6a830;
$custom-light: #d0c171;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a830",
  "rgb": {
    "r": 182,
    "g": 168,
    "b": 48
  },
  "hsl": {
    "h": 53.731,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72252,
    "c": 0.13554,
    "h": 102.5
  },
  "luminance": 0.38164
}

Semantic roles & 50–950 ramp

primary
#B6A830
secondary
#7B83C7
accent
#57E146
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B6A830

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

Preview Lab → · Contrast checker → · Palette generator →

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