#B2A358#B2A358

#B2A358 is a light, moderate yellow. Relative luminance 0.364; OKLCH L 71.2% C 0.098 H 98.3°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#B2A358
RGBrgb(178, 163, 88)
HSLhsl(50, 37%, 52%)
HSVhsv(50, 51%, 70%)
CMYKcmyk(0%, 8.4%, 50.6%, 30.2%)
CIE-LABlab(66.80, -4.69, 40.62)
CIE-LCHlch(66.80, 40.89, 96.58°)
OKLaboklab(71.22% -0.014 0.0966)
OKLCHoklch(71.22% 0.098 98.3)
XYZxyz(33.2198, 36.3652, 14.5000)
Luminance0.3636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A358 #5867B2
analogous
#B27658 #B2A358 #94B258
triadic
#B2A358 #58B2A3 #A358B2
tetradic
#B2A358 #58B276 #5867B2 #B25894
square
#B2A358 #58B276 #5867B2 #B25894
split-complementary
#B2A358 #5894B2 #7658B2
monochromatic
#62592D #8C8041 #B2A358 #C5BA82 #D9D1AC

Accessibility & contrast

On white

2.54
#B2A358 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#B2A358 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A358
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A358#FFFFFF#000000##000000
##B2A3581.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F51
Deuteranopia (green-blind)
#B4A55B
Tritanopia (blue-blind)
#BE9991
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b2a358;
/* rgb */ color: rgb(178, 163, 88);
/* oklch */ color: oklch(71.2% 0.098 98.3);
Tailwind
colors: {
  custom: {
    50: '#cbbe89',
    500: '#b2a358',
    950: '#000000',
  },
}
SCSS
$custom: #b2a358;
$custom-light: #cbbe89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a358",
  "rgb": {
    "r": 178,
    "g": 163,
    "b": 88
  },
  "hsl": {
    "h": 50,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71218,
    "c": 0.09763,
    "h": 98.3
  },
  "luminance": 0.36364
}

Semantic roles & 50–950 ramp

primary
#B2A358
secondary
#9FA6C7
accent
#6ECD5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120B
muted
#82817C

Preview Lab

Preview with #B2A358

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

Preview Lab → · Contrast checker → · Palette generator →

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