#B2A95E#B2A95E

#B2A95E is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.097 H 102.4°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B2A95E
RGBrgb(178, 169, 94)
HSLhsl(54, 35%, 53%)
HSVhsv(54, 47%, 70%)
CMYKcmyk(0%, 5.1%, 47.2%, 30.2%)
CIE-LABlab(68.50, -7.31, 39.65)
CIE-LCHlch(68.50, 40.32, 100.44°)
OKLaboklab(72.59% -0.021 0.095)
OKLCHoklch(72.59% 0.097 102.4)
XYZxyz(34.5693, 38.6501, 16.2267)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A95E #5E67B2
analogous
#B27F5E #B2A95E #91B25E
triadic
#B2A95E #5EB2A9 #A95EB2
tetradic
#B2A95E #5EB27F #5E67B2 #B25E91
square
#B2A95E #5EB27F #5E67B2 #B25E91
split-complementary
#B2A95E #5E91B2 #7F5EB2
monochromatic
#656030 #8F8744 #B2A95E #C6BF87 #DAD5B1

Accessibility & contrast

On white

2.41
#B2A95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#B2A95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A95E
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A95E#FFFFFF#000000##000000
##B2A95E1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A558
Deuteranopia (green-blind)
#B8A961
Tritanopia (blue-blind)
#BDA097
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2a95e;
/* rgb */ color: rgb(178, 169, 94);
/* oklch */ color: oklch(72.6% 0.097 102.4);
Tailwind
colors: {
  custom: {
    50: '#cbc28d',
    500: '#b2a95e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a95e;
$custom-light: #cbc28d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a95e",
  "rgb": {
    "r": 178,
    "g": 169,
    "b": 94
  },
  "hsl": {
    "h": 53.571,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.72589,
    "c": 0.09724,
    "h": 102.4
  },
  "luminance": 0.38649
}

Semantic roles & 50–950 ramp

primary
#B2A95E
secondary
#A4A8C8
accent
#68CB5C
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A95E

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

Preview Lab → · Contrast checker → · Palette generator →

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