#B4A45C#B4A45C

#B4A45C is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.095 H 97.1°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B4A45C
RGBrgb(180, 164, 92)
HSLhsl(49, 37%, 53%)
HSVhsv(49, 49%, 71%)
CMYKcmyk(0%, 8.9%, 48.9%, 29.4%)
CIE-LABlab(67.30, -4.00, 39.24)
CIE-LCHlch(67.30, 39.44, 95.82°)
OKLaboklab(71.67% -0.0117 0.0939)
OKLCHoklch(71.67% 0.095 97.1)
XYZxyz(34.0306, 37.0282, 15.4777)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4A45C #5C6CB4
analogous
#B4785C #B4A45C #98B45C
triadic
#B4A45C #5CB4A4 #A45CB4
tetradic
#B4A45C #5CB478 #5C6CB4 #B45C98
square
#B4A45C #5CB478 #5C6CB4 #B45C98
split-complementary
#B4A45C #5C98B4 #785CB4
monochromatic
#665C2F #908242 #B4A45C #C7BB86 #DBD3B0

Accessibility & contrast

On white

2.50
#B4A45C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B4A45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4A45C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4A45C#FFFFFF#000000##000000
##B4A45C1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A156
Deuteranopia (green-blind)
#B5A65F
Tritanopia (blue-blind)
#C09B93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b4a45c;
/* rgb */ color: rgb(180, 164, 92);
/* oklch */ color: oklch(71.7% 0.095 97.1);
Tailwind
colors: {
  custom: {
    50: '#ccbe8c',
    500: '#b4a45c',
    950: '#000000',
  },
}
SCSS
$custom: #b4a45c;
$custom-light: #ccbe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#b4a45c",
  "rgb": {
    "r": 180,
    "g": 164,
    "b": 92
  },
  "hsl": {
    "h": 49.091,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.09459,
    "h": 97.1
  },
  "luminance": 0.37027
}

Semantic roles & 50–950 ramp

primary
#B4A45C
secondary
#A3AAC9
accent
#70CD5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B4A45C

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

Preview Lab → · Contrast checker → · Palette generator →

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