#B2A645#B2A645

#B2A645 is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.6% C 0.119 H 102.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#B2A645
RGBrgb(178, 166, 69)
HSLhsl(53, 44%, 48%)
HSVhsv(53, 61%, 70%)
CMYKcmyk(0%, 6.7%, 61.2%, 30.2%)
CIE-LABlab(67.40, -7.82, 50.48)
CIE-LCHlch(67.40, 51.08, 98.81°)
OKLaboklab(71.63% -0.0252 0.1158)
OKLCHoklch(71.63% 0.119 102.3)
XYZxyz(33.0717, 37.1684, 11.0612)
Luminance0.3717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A645 #4551B2
analogous
#B26F45 #B2A645 #87B245
triadic
#B2A645 #45B2A6 #A645B2
tetradic
#B2A645 #45B26F #4551B2 #B24587
square
#B2A645 #45B26F #4551B2 #B24587
split-complementary
#B2A645 #4587B2 #6F45B2
monochromatic
#5A5423 #867D34 #B2A645 #C7BD6E #D8D19A

Accessibility & contrast

On white

2.49
#B2A645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#B2A645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A645
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A645#FFFFFF#000000##000000
##B2A6451.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13A
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#BF9B91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a645;
/* rgb */ color: rgb(178, 166, 69);
/* oklch */ color: oklch(71.6% 0.119 102.3);
Tailwind
colors: {
  custom: {
    50: '#ccc07d',
    500: '#b2a645',
    950: '#000000',
  },
}
SCSS
$custom: #b2a645;
$custom-light: #ccc07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a645",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 69
  },
  "hsl": {
    "h": 53.394,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71631,
    "c": 0.11851,
    "h": 102.3
  },
  "luminance": 0.37167
}

Semantic roles & 50–950 ramp

primary
#B2A645
secondary
#8F95C4
accent
#62D454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A645

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

Preview Lab → · Contrast checker → · Palette generator →

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