#B2A652#B2A652

#B2A652 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.8% C 0.107 H 101.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B2A652
RGBrgb(178, 166, 82)
HSLhsl(53, 38%, 51%)
HSVhsv(53, 54%, 70%)
CMYKcmyk(0%, 6.7%, 53.9%, 30.2%)
CIE-LABlab(67.54, -6.81, 44.49)
CIE-LCHlch(67.54, 45.01, 98.71°)
OKLaboklab(71.78% -0.0208 0.1045)
OKLCHoklch(71.78% 0.107 101.3)
XYZxyz(33.5204, 37.3478, 13.4242)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A652 #525EB2
analogous
#B27652 #B2A652 #8EB252
triadic
#B2A652 #52B2A6 #A652B2
tetradic
#B2A652 #52B276 #525EB2 #B2528E
square
#B2A652 #52B276 #525EB2 #B2528E
split-complementary
#B2A652 #528EB2 #7652B2
monochromatic
#5F592A #8A803D #B2A652 #C5BC7C #D8D2A7

Accessibility & contrast

On white

2.48
#B2A652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#B2A652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A652
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A652#FFFFFF#000000##000000
##B2A6521.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A24A
Deuteranopia (green-blind)
#B7A756
Tritanopia (blue-blind)
#BE9C93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a652;
/* rgb */ color: rgb(178, 166, 82);
/* oklch */ color: oklch(71.8% 0.107 101.3);
Tailwind
colors: {
  custom: {
    50: '#cbc085',
    500: '#b2a652',
    950: '#000000',
  },
}
SCSS
$custom: #b2a652;
$custom-light: #cbc085;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a652",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 82
  },
  "hsl": {
    "h": 52.5,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.7178,
    "c": 0.10657,
    "h": 101.3
  },
  "luminance": 0.37347
}

Semantic roles & 50–950 ramp

primary
#B2A652
secondary
#9BA0C5
accent
#68CE59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A652

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

Preview Lab → · Contrast checker → · Palette generator →

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