#B2A558#B2A558

#B2A558 is a light, moderate yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.100 H 99.9°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B2A558
RGBrgb(178, 165, 88)
HSLhsl(51, 37%, 52%)
HSVhsv(51, 51%, 70%)
CMYKcmyk(0%, 7.3%, 50.6%, 30.2%)
CIE-LABlab(67.34, -5.75, 41.27)
CIE-LCHlch(67.34, 41.67, 97.94°)
OKLaboklab(71.65% -0.0171 0.0981)
OKLCHoklch(71.65% 0.1 99.9)
XYZxyz(33.5777, 37.0810, 14.6193)
Luminance0.3708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A558 #5865B2
analogous
#B27858 #B2A558 #92B258
triadic
#B2A558 #58B2A5 #A558B2
tetradic
#B2A558 #58B278 #5865B2 #B25892
square
#B2A558 #58B278 #5865B2 #B25892
split-complementary
#B2A558 #5892B2 #7858B2
monochromatic
#625B2D #8C8141 #B2A558 #C5BC82 #D9D2AC

Accessibility & contrast

On white

2.50
#B2A558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B2A558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A558
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A558#FFFFFF#000000##000000
##B2A5581.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A151
Deuteranopia (green-blind)
#B6A65B
Tritanopia (blue-blind)
#BE9B93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a558;
/* rgb */ color: rgb(178, 165, 88);
/* oklch */ color: oklch(71.6% 0.100 99.9);
Tailwind
colors: {
  custom: {
    50: '#cbbf89',
    500: '#b2a558',
    950: '#000000',
  },
}
SCSS
$custom: #b2a558;
$custom-light: #cbbf89;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a558",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 88
  },
  "hsl": {
    "h": 51.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.71645,
    "c": 0.09953,
    "h": 99.9
  },
  "luminance": 0.3708
}

Semantic roles & 50–950 ramp

primary
#B2A558
secondary
#9FA5C7
accent
#6BCD5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A558

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

Preview Lab → · Contrast checker → · Palette generator →

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