#B2A03A#B2A03A

#B2A03A is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.2% C 0.122 H 99.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#B2A03A
RGBrgb(178, 160, 58)
HSLhsl(51, 51%, 46%)
HSVhsv(51, 67%, 70%)
CMYKcmyk(0%, 10.1%, 67.4%, 30.2%)
CIE-LABlab(65.68, -5.34, 53.48)
CIE-LCHlch(65.68, 53.74, 95.71°)
OKLaboklab(70.23% -0.0194 0.1205)
OKLCHoklch(70.23% 0.122 99.2)
XYZxyz(31.6960, 34.9135, 9.0716)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A03A #3A4CB2
analogous
#B2643A #B2A03A #88B23A
triadic
#B2A03A #3AB2A0 #A03AB2
tetradic
#B2A03A #3AB264 #3A4CB2 #B23A88
square
#B2A03A #3AB264 #3A4CB2 #B23A88
split-complementary
#B2A03A #3A88B2 #643AB2
monochromatic
#564D1C #84772B #B2A03A #CBBA5F #DACE8D

Accessibility & contrast

On white

2.63
#B2A03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#B2A03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A03A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A03A#FFFFFF#000000##000000
##B2A03A1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2D
Deuteranopia (green-blind)
#B4A240
Tritanopia (blue-blind)
#C0958B
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a03a;
/* rgb */ color: rgb(178, 160, 58);
/* oklch */ color: oklch(70.2% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#ccbb76',
    500: '#b2a03a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a03a;
$custom-light: #ccbb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a03a",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 58
  },
  "hsl": {
    "h": 51,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70234,
    "c": 0.12204,
    "h": 99.2
  },
  "luminance": 0.34912
}

Semantic roles & 50–950 ramp

primary
#B2A03A
secondary
#838DC4
accent
#63DA4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B2A03A

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

Preview Lab → · Contrast checker → · Palette generator →

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