#B2A457#B2A457

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

Color values

HEX#B2A457
RGBrgb(178, 164, 87)
HSLhsl(51, 37%, 52%)
HSVhsv(51, 51%, 70%)
CMYKcmyk(0%, 7.9%, 51.1%, 30.2%)
CIE-LABlab(67.06, -5.31, 41.44)
CIE-LCHlch(67.06, 41.78, 97.31°)
OKLaboklab(71.42% -0.016 0.0983)
OKLCHoklch(71.42% 0.1 99.2)
XYZxyz(33.3569, 36.7052, 14.3427)
Luminance0.3670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A457 #5765B2
analogous
#B27757 #B2A457 #93B257
triadic
#B2A457 #57B2A4 #A457B2
tetradic
#B2A457 #57B277 #5765B2 #B25793
square
#B2A457 #57B277 #5765B2 #B25793
split-complementary
#B2A457 #5793B2 #7757B2
monochromatic
#625A2D #8C8040 #B2A457 #C5BB81 #D8D1AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2A457#FFFFFF#000000##000000
##B2A4571.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)
#B1A050
Deuteranopia (green-blind)
#B5A65A
Tritanopia (blue-blind)
#BE9A92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a457;
/* rgb */ color: rgb(178, 164, 87);
/* oklch */ color: oklch(71.4% 0.100 99.2);
Tailwind
colors: {
  custom: {
    50: '#cbbe88',
    500: '#b2a457',
    950: '#000000',
  },
}
SCSS
$custom: #b2a457;
$custom-light: #cbbe88;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a457",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 87
  },
  "hsl": {
    "h": 50.769,
    "s": 37.143,
    "l": 51.961
  },
  "oklch": {
    "l": 0.71417,
    "c": 0.09961,
    "h": 99.2
  },
  "luminance": 0.36704
}

Semantic roles & 50–950 ramp

primary
#B2A457
secondary
#9EA5C6
accent
#6CCD5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A457

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

Preview Lab → · Contrast checker → · Palette generator →

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