#B2A64A#B2A64A

#B2A64A is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.114 H 101.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B2A64A
RGBrgb(178, 166, 74)
HSLhsl(53, 41%, 49%)
HSVhsv(53, 58%, 70%)
CMYKcmyk(0%, 6.7%, 58.4%, 30.2%)
CIE-LABlab(67.45, -7.46, 48.22)
CIE-LCHlch(67.45, 48.80, 98.79°)
OKLaboklab(71.69% -0.0236 0.1117)
OKLCHoklch(71.69% 0.114 101.9)
XYZxyz(33.2335, 37.2331, 11.9134)
Luminance0.3723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A64A #4A56B2
analogous
#B2724A #B2A64A #8AB24A
triadic
#B2A64A #4AB2A6 #A64AB2
tetradic
#B2A64A #4AB272 #4A56B2 #B24A8A
square
#B2A64A #4AB272 #4A56B2 #B24A8A
split-complementary
#B2A64A #4A8AB2 #724AB2
monochromatic
#5C5526 #877E38 #B2A64A #C5BC74 #D7D19F

Accessibility & contrast

On white

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

On black

8.45
#B2A64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A64A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A64A#FFFFFF#000000##000000
##B2A64A1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A140
Deuteranopia (green-blind)
#B7A74F
Tritanopia (blue-blind)
#BE9C92
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a64a;
/* rgb */ color: rgb(178, 166, 74);
/* oklch */ color: oklch(71.7% 0.114 101.9);
Tailwind
colors: {
  custom: {
    50: '#cbc080',
    500: '#b2a64a',
    950: '#000000',
  },
}
SCSS
$custom: #b2a64a;
$custom-light: #cbc080;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a64a",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 74
  },
  "hsl": {
    "h": 53.077,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.71685,
    "c": 0.11412,
    "h": 101.9
  },
  "luminance": 0.37232
}

Semantic roles & 50–950 ramp

primary
#B2A64A
secondary
#9499C4
accent
#65D157
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2A64A

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

Preview Lab → · Contrast checker → · Palette generator →

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