#B2A855#B2A855

#B2A855 is a light, moderate yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.106 H 102.5°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B2A855
RGBrgb(178, 168, 85)
HSLhsl(54, 38%, 52%)
HSVhsv(54, 52%, 70%)
CMYKcmyk(0%, 5.6%, 52.2%, 30.2%)
CIE-LABlab(68.11, -7.61, 43.69)
CIE-LCHlch(68.11, 44.35, 99.88°)
OKLaboklab(72.25% -0.0228 0.1031)
OKLCHoklch(72.25% 0.106 102.5)
XYZxyz(34.0034, 38.1273, 14.1607)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A855 #555FB2
analogous
#B27A55 #B2A855 #8EB255
triadic
#B2A855 #55B2A8 #A855B2
tetradic
#B2A855 #55B27A #555FB2 #B2558E
square
#B2A855 #55B27A #555FB2 #B2558E
split-complementary
#B2A855 #558EB2 #7A55B2
monochromatic
#615B2C #8B833F #B2A855 #C5BE7F #D8D3A9

Accessibility & contrast

On white

2.43
#B2A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B2A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A855
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A855#FFFFFF#000000##000000
##B2A8551.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34D
Deuteranopia (green-blind)
#B8A859
Tritanopia (blue-blind)
#BE9E95
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b2a855;
/* rgb */ color: rgb(178, 168, 85);
/* oklch */ color: oklch(72.2% 0.106 102.5);
Tailwind
colors: {
  custom: {
    50: '#cbc187',
    500: '#b2a855',
    950: '#000000',
  },
}
SCSS
$custom: #b2a855;
$custom-light: #cbc187;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a855",
  "rgb": {
    "r": 178,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 53.548,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72249,
    "c": 0.10557,
    "h": 102.5
  },
  "luminance": 0.38126
}

Semantic roles & 50–950 ramp

primary
#B2A855
secondary
#9DA1C6
accent
#67CE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2A855

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

Preview Lab → · Contrast checker → · Palette generator →

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