#B2A45E#B2A45E

#B2A45E is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.092 H 98.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#B2A45E
RGBrgb(178, 164, 94)
HSLhsl(50, 35%, 53%)
HSVhsv(50, 47%, 70%)
CMYKcmyk(0%, 7.9%, 47.2%, 30.2%)
CIE-LABlab(67.15, -4.65, 37.99)
CIE-LCHlch(67.15, 38.27, 96.98°)
OKLaboklab(71.52% -0.0133 0.0913)
OKLCHoklch(71.52% 0.092 98.3)
XYZxyz(33.6569, 36.8252, 15.9226)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A45E #5E6CB2
analogous
#B27A5E #B2A45E #96B25E
triadic
#B2A45E #5EB2A4 #A45EB2
tetradic
#B2A45E #5EB27A #5E6CB2 #B25E96
square
#B2A45E #5EB27A #5E6CB2 #B25E96
split-complementary
#B2A45E #5E96B2 #7A5EB2
monochromatic
#655C30 #8F8244 #B2A45E #C6BB87 #DAD3B1

Accessibility & contrast

On white

2.51
#B2A45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#B2A45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A45E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A45E#FFFFFF#000000##000000
##B2A45E1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A158
Deuteranopia (green-blind)
#B4A661
Tritanopia (blue-blind)
#BD9B93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b2a45e;
/* rgb */ color: rgb(178, 164, 94);
/* oklch */ color: oklch(71.5% 0.092 98.3);
Tailwind
colors: {
  custom: {
    50: '#cbbe8d',
    500: '#b2a45e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a45e;
$custom-light: #cbbe8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a45e",
  "rgb": {
    "r": 178,
    "g": 164,
    "b": 94
  },
  "hsl": {
    "h": 50,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71518,
    "c": 0.09221,
    "h": 98.3
  },
  "luminance": 0.36824
}

Semantic roles & 50–950 ramp

primary
#B2A45E
secondary
#A4AAC8
accent
#6FCB5C
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B2A45E

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

Preview Lab → · Contrast checker → · Palette generator →

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