#B2A245#B2A245

#B2A245 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.8% C 0.115 H 99.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B2A245
RGBrgb(178, 162, 69)
HSLhsl(51, 44%, 48%)
HSVhsv(51, 61%, 70%)
CMYKcmyk(0%, 9%, 61.2%, 30.2%)
CIE-LABlab(66.32, -5.70, 49.28)
CIE-LCHlch(66.32, 49.61, 96.60°)
OKLaboklab(70.77% -0.0192 0.1133)
OKLCHoklch(70.77% 0.115 99.6)
XYZxyz(32.3559, 35.7367, 10.8226)
Luminance0.3574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A245 #4555B2
analogous
#B26B45 #B2A245 #8BB245
triadic
#B2A245 #45B2A2 #A245B2
tetradic
#B2A245 #45B26B #4555B2 #B2458B
square
#B2A245 #45B26B #4555B2 #B2458B
split-complementary
#B2A245 #458BB2 #6B45B2
monochromatic
#5A5223 #867A34 #B2A245 #C7BA6E #D8CF9A

Accessibility & contrast

On white

2.58
#B2A245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B2A245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A245
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A245#FFFFFF#000000##000000
##B2A2451.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09E3B
Deuteranopia (green-blind)
#B5A44A
Tritanopia (blue-blind)
#BF978E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b2a245;
/* rgb */ color: rgb(178, 162, 69);
/* oklch */ color: oklch(70.8% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#ccbd7c',
    500: '#b2a245',
    950: '#000000',
  },
}
SCSS
$custom: #b2a245;
$custom-light: #ccbd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a245",
  "rgb": {
    "r": 178,
    "g": 162,
    "b": 69
  },
  "hsl": {
    "h": 51.193,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7077,
    "c": 0.11487,
    "h": 99.6
  },
  "luminance": 0.35735
}

Semantic roles & 50–950 ramp

primary
#B2A245
secondary
#8F97C4
accent
#67D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A245

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

Preview Lab → · Contrast checker → · Palette generator →

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