#B2A55E#B2A55E

#B2A55E is a light, moderate yellow. Relative luminance 0.372; OKLCH L 71.7% C 0.093 H 99.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B2A55E
RGBrgb(178, 165, 94)
HSLhsl(51, 35%, 53%)
HSVhsv(51, 47%, 70%)
CMYKcmyk(0%, 7.3%, 47.2%, 30.2%)
CIE-LABlab(67.42, -5.18, 38.32)
CIE-LCHlch(67.42, 38.67, 97.70°)
OKLaboklab(71.73% -0.0148 0.092)
OKLCHoklch(71.73% 0.093 99.2)
XYZxyz(33.8365, 37.1846, 15.9825)
Luminance0.3718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A55E #5E6BB2
analogous
#B27B5E #B2A55E #95B25E
triadic
#B2A55E #5EB2A5 #A55EB2
tetradic
#B2A55E #5EB27B #5E6BB2 #B25E95
square
#B2A55E #5EB27B #5E6BB2 #B25E95
split-complementary
#B2A55E #5E95B2 #7B5EB2
monochromatic
#655D30 #8F8344 #B2A55E #C6BC87 #DAD3B1

Accessibility & contrast

On white

2.49
#B2A55E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B2A55E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A55E
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A55E#FFFFFF#000000##000000
##B2A55E1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A158
Deuteranopia (green-blind)
#B5A661
Tritanopia (blue-blind)
#BD9C94
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a55e;
/* rgb */ color: rgb(178, 165, 94);
/* oklch */ color: oklch(71.7% 0.093 99.2);
Tailwind
colors: {
  custom: {
    50: '#cbbf8d',
    500: '#b2a55e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a55e;
$custom-light: #cbbf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a55e",
  "rgb": {
    "r": 178,
    "g": 165,
    "b": 94
  },
  "hsl": {
    "h": 50.714,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71732,
    "c": 0.09318,
    "h": 99.2
  },
  "luminance": 0.37183
}

Semantic roles & 50–950 ramp

primary
#B2A55E
secondary
#A4A9C8
accent
#6ECB5C
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A55E

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

Preview Lab → · Contrast checker → · Palette generator →

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