#B2A04F#B2A04F

#B2A04F is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.104 H 97.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B2A04F
RGBrgb(178, 160, 79)
HSLhsl(49, 39%, 50%)
HSVhsv(49, 56%, 70%)
CMYKcmyk(0%, 10.1%, 55.6%, 30.2%)
CIE-LABlab(65.88, -3.87, 44.02)
CIE-LCHlch(65.88, 44.19, 95.02°)
OKLaboklab(70.46% -0.0127 0.1032)
OKLCHoklch(70.46% 0.104 97)
XYZxyz(32.3434, 35.1725, 12.4809)
Luminance0.3517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A04F #4F61B2
analogous
#B26E4F #B2A04F #92B24F
triadic
#B2A04F #4FB2A0 #A04FB2
tetradic
#B2A04F #4FB26E #4F61B2 #B24F92
square
#B2A04F #4FB26E #4F61B2 #B24F92
split-complementary
#B2A04F #4F92B2 #6E4FB2
monochromatic
#5E5429 #887A3C #B2A04F #C5B77A #D7CEA4

Accessibility & contrast

On white

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

On black

8.03
#B2A04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A04F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A04F#FFFFFF#000000##000000
##B2A04F1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D47
Deuteranopia (green-blind)
#B3A353
Tritanopia (blue-blind)
#BF968E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a04f;
/* rgb */ color: rgb(178, 160, 79);
/* oklch */ color: oklch(70.5% 0.104 97.0);
Tailwind
colors: {
  custom: {
    50: '#cbbb83',
    500: '#b2a04f',
    950: '#000000',
  },
}
SCSS
$custom: #b2a04f;
$custom-light: #cbbb83;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a04f",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 49.091,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.70458,
    "c": 0.10396,
    "h": 97
  },
  "luminance": 0.35171
}

Semantic roles & 50–950 ramp

primary
#B2A04F
secondary
#98A0C4
accent
#6ECF59
background
#FCFBF8
surface
#F9F6EF
border
#D2D0CA
text
#14110B
muted
#82807C

Preview Lab

Preview with #B2A04F

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

Preview Lab → · Contrast checker → · Palette generator →

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