#B2A458#B2A458

#B2A458 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.099 H 99.1°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B2A458
RGBrgb(178, 164, 88)
HSLhsl(51, 37%, 52%)
HSVhsv(51, 51%, 70%)
CMYKcmyk(0%, 7.9%, 50.6%, 30.2%)
CIE-LABlab(67.07, -5.22, 40.95)
CIE-LCHlch(67.07, 41.28, 97.27°)
OKLaboklab(71.43% -0.0156 0.0973)
OKLCHoklch(71.43% 0.099 99.1)
XYZxyz(33.3980, 36.7217, 14.5594)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A458 #5866B2
analogous
#B27758 #B2A458 #93B258
triadic
#B2A458 #58B2A4 #A458B2
tetradic
#B2A458 #58B277 #5866B2 #B25893
square
#B2A458 #58B277 #5866B2 #B25893
split-complementary
#B2A458 #5893B2 #7758B2
monochromatic
#625A2D #8C8041 #B2A458 #C5BB82 #D9D2AC

Accessibility & contrast

On white

2.52
#B2A458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B2A458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A458
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A458#FFFFFF#000000##000000
##B2A4581.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A051
Deuteranopia (green-blind)
#B5A65B
Tritanopia (blue-blind)
#BE9A92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a458;
/* rgb */ color: rgb(178, 164, 88);
/* oklch */ color: oklch(71.4% 0.099 99.1);
Tailwind
colors: {
  custom: {
    50: '#cbbe89',
    500: '#b2a458',
    950: '#000000',
  },
}
SCSS
$custom: #b2a458;
$custom-light: #cbbe89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a458",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 88
  },
  "hsl": {
    "h": 50.667,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71431,
    "c": 0.09858,
    "h": 99.1
  },
  "luminance": 0.3672
}

Semantic roles & 50–950 ramp

primary
#B2A458
secondary
#9FA5C7
accent
#6DCD5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B2A458

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

Preview Lab → · Contrast checker → · Palette generator →

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