#B6A02C#B6A02C

#B6A02C is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.5% C 0.131 H 98.0°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#B6A02C
RGBrgb(182, 160, 44)
HSLhsl(50, 61%, 44%)
HSVhsv(50, 76%, 71%)
CMYKcmyk(0%, 12.1%, 75.8%, 28.6%)
CIE-LABlab(65.96, -4.28, 59.37)
CIE-LCHlch(65.96, 59.52, 94.13°)
OKLaboklab(70.51% -0.0182 0.1302)
OKLCHoklch(70.51% 0.131 98)
XYZxyz(32.3185, 35.2702, 7.4879)
Luminance0.3527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6A02C #2C42B6
analogous
#B65B2C #B6A02C #87B62C
triadic
#B6A02C #2CB6A0 #A02CB6
tetradic
#B6A02C #2CB65B #2C42B6 #B62C87
square
#B6A02C #2CB65B #2C42B6 #B62C87
split-complementary
#B6A02C #2C87B6 #5B2CB6
monochromatic
#534914 #857520 #B6A02C #D4BE4C #E0D07D

Accessibility & contrast

On white

2.61
#B6A02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#B6A02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B6A02C
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6A02C#FFFFFF#000000##000000
##B6A02C1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C16
Deuteranopia (green-blind)
#B6A334
Tritanopia (blue-blind)
#C5948A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b6a02c;
/* rgb */ color: rgb(182, 160, 44);
/* oklch */ color: oklch(70.5% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#d0bb6e',
    500: '#b6a02c',
    950: '#000000',
  },
}
SCSS
$custom: #b6a02c;
$custom-light: #d0bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b6a02c",
  "rgb": {
    "r": 182,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 50.435,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70511,
    "c": 0.13148,
    "h": 98
  },
  "luminance": 0.35269
}

Semantic roles & 50–950 ramp

primary
#B6A02C
secondary
#7683C8
accent
#5DE444
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B6A02C

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

Preview Lab → · Contrast checker → · Palette generator →

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