#B2A04A#B2A04A

#B2A04A is a light, moderate yellow. Relative luminance 0.351; OKLCH L 70.4% C 0.109 H 97.6°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#B2A04A
RGBrgb(178, 160, 74)
HSLhsl(50, 41%, 49%)
HSVhsv(50, 58%, 70%)
CMYKcmyk(0%, 10.1%, 58.4%, 30.2%)
CIE-LABlab(65.83, -4.26, 46.39)
CIE-LCHlch(65.83, 46.58, 95.25°)
OKLaboklab(70.4% -0.0144 0.1077)
OKLCHoklch(70.4% 0.109 97.6)
XYZxyz(32.1682, 35.1024, 11.5582)
Luminance0.3510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A04A #4A5CB2
analogous
#B26C4A #B2A04A #90B24A
triadic
#B2A04A #4AB2A0 #A04AB2
tetradic
#B2A04A #4AB26C #4A5CB2 #B24A90
square
#B2A04A #4AB26C #4A5CB2 #B24A90
split-complementary
#B2A04A #4A90B2 #6C4AB2
monochromatic
#5C5226 #877938 #B2A04A #C5B774 #D7CD9F

Accessibility & contrast

On white

2.62
#B2A04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#B2A04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A04A
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A04A#FFFFFF#000000##000000
##B2A04A1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C41
Deuteranopia (green-blind)
#B3A34E
Tritanopia (blue-blind)
#BF958D
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a04a;
/* rgb */ color: rgb(178, 160, 74);
/* oklch */ color: oklch(70.4% 0.109 97.6);
Tailwind
colors: {
  custom: {
    50: '#ccbb7f',
    500: '#b2a04a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a04a;
$custom-light: #ccbb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a04a",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 74
  },
  "hsl": {
    "h": 49.615,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.70398,
    "c": 0.10866,
    "h": 97.6
  },
  "luminance": 0.35101
}

Semantic roles & 50–950 ramp

primary
#B2A04A
secondary
#949CC4
accent
#6CD157
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #B2A04A

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

Preview Lab → · Contrast checker → · Palette generator →

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