#B2A045#B2A045

#B2A045 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.3% C 0.113 H 98.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#B2A045
RGBrgb(178, 160, 69)
HSLhsl(50, 44%, 48%)
HSVhsv(50, 61%, 70%)
CMYKcmyk(0%, 10.1%, 61.2%, 30.2%)
CIE-LABlab(65.78, -4.63, 48.69)
CIE-LCHlch(65.78, 48.91, 95.44°)
OKLaboklab(70.34% -0.0161 0.112)
OKLCHoklch(70.34% 0.113 98.2)
XYZxyz(32.0064, 35.0377, 10.7061)
Luminance0.3504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A045 #4557B2
analogous
#B26945 #B2A045 #8DB245
triadic
#B2A045 #45B2A0 #A045B2
tetradic
#B2A045 #45B269 #4557B2 #B2458D
square
#B2A045 #45B269 #4557B2 #B2458D
split-complementary
#B2A045 #458DB2 #6945B2
monochromatic
#5A5123 #867834 #B2A045 #C7B86E #D8CD9A

Accessibility & contrast

On white

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

On black

8.01
#B2A045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A045
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A045#FFFFFF#000000##000000
##B2A0451.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3B
Deuteranopia (green-blind)
#B3A349
Tritanopia (blue-blind)
#BF958C
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b2a045;
/* rgb */ color: rgb(178, 160, 69);
/* oklch */ color: oklch(70.3% 0.113 98.2);
Tailwind
colors: {
  custom: {
    50: '#ccbb7c',
    500: '#b2a045',
    950: '#000000',
  },
}
SCSS
$custom: #b2a045;
$custom-light: #ccbb7c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a045",
  "rgb": {
    "r": 178,
    "g": 160,
    "b": 69
  },
  "hsl": {
    "h": 50.092,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70342,
    "c": 0.11313,
    "h": 98.2
  },
  "luminance": 0.35036
}

Semantic roles & 50–950 ramp

primary
#B2A045
secondary
#8F98C4
accent
#69D454
background
#FCFBF7
surface
#F9F6EE
border
#D2D0C9
text
#14110A
muted
#82807C

Preview Lab

Preview with #B2A045

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

Preview Lab → · Contrast checker → · Palette generator →

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