#B2A35D#B2A35D

#B2A35D is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.3% C 0.092 H 97.6°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B2A35D
RGBrgb(178, 163, 93)
HSLhsl(49, 36%, 53%)
HSVhsv(49, 48%, 70%)
CMYKcmyk(0%, 8.4%, 47.8%, 30.2%)
CIE-LABlab(66.86, -4.21, 38.15)
CIE-LCHlch(66.86, 38.38, 96.30°)
OKLaboklab(71.29% -0.0121 0.0916)
OKLCHoklch(71.29% 0.092 97.6)
XYZxyz(33.4340, 36.4509, 15.6284)
Luminance0.3645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A35D #5D6CB2
analogous
#B2785D #B2A35D #96B25D
triadic
#B2A35D #5DB2A3 #A35DB2
tetradic
#B2A35D #5DB278 #5D6CB2 #B25D96
square
#B2A35D #5DB278 #5D6CB2 #B25D96
split-complementary
#B2A35D #5D96B2 #785DB2
monochromatic
#655B30 #8E8144 #B2A35D #C6BB86 #D9D2B0

Accessibility & contrast

On white

2.53
#B2A35D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B2A35D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A35D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A35D#FFFFFF#000000##000000
##B2A35D1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA057
Deuteranopia (green-blind)
#B4A560
Tritanopia (blue-blind)
#BD9A92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a35d;
/* rgb */ color: rgb(178, 163, 93);
/* oklch */ color: oklch(71.3% 0.092 97.6);
Tailwind
colors: {
  custom: {
    50: '#cbbe8c',
    500: '#b2a35d',
    950: '#000000',
  },
}
SCSS
$custom: #b2a35d;
$custom-light: #cbbe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a35d",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 93
  },
  "hsl": {
    "h": 49.412,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7129,
    "c": 0.09235,
    "h": 97.6
  },
  "luminance": 0.3645
}

Semantic roles & 50–950 ramp

primary
#B2A35D
secondary
#A3AAC8
accent
#70CC5C
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A35D

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

Preview Lab → · Contrast checker → · Palette generator →

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