#B2A758#B2A758

#B2A758 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.1% C 0.102 H 101.5°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B2A758
RGBrgb(178, 167, 88)
HSLhsl(53, 37%, 52%)
HSVhsv(53, 51%, 70%)
CMYKcmyk(0%, 6.2%, 50.6%, 30.2%)
CIE-LABlab(67.88, -6.82, 41.92)
CIE-LCHlch(67.88, 42.48, 99.23°)
OKLaboklab(72.07% -0.0202 0.0995)
OKLCHoklch(72.07% 0.102 101.5)
XYZxyz(33.9412, 37.8081, 14.7404)
Luminance0.3781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A758 #5863B2
analogous
#B27A58 #B2A758 #90B258
triadic
#B2A758 #58B2A7 #A758B2
tetradic
#B2A758 #58B27A #5863B2 #B25890
square
#B2A758 #58B27A #5863B2 #B25890
split-complementary
#B2A758 #5890B2 #7A58B2
monochromatic
#625C2D #8C8341 #B2A758 #C5BD82 #D9D3AC

Accessibility & contrast

On white

2.45
#B2A758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B2A758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A758
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A758#FFFFFF#000000##000000
##B2A7581.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A351
Deuteranopia (green-blind)
#B7A85C
Tritanopia (blue-blind)
#BD9D95
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b2a758;
/* rgb */ color: rgb(178, 167, 88);
/* oklch */ color: oklch(72.1% 0.102 101.5);
Tailwind
colors: {
  custom: {
    50: '#cbc089',
    500: '#b2a758',
    950: '#000000',
  },
}
SCSS
$custom: #b2a758;
$custom-light: #cbc089;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a758",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 88
  },
  "hsl": {
    "h": 52.667,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72074,
    "c": 0.1015,
    "h": 101.5
  },
  "luminance": 0.37807
}

Semantic roles & 50–950 ramp

primary
#B2A758
secondary
#9FA4C7
accent
#69CD5B
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A758

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

Preview Lab → · Contrast checker → · Palette generator →

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