#B1A45E#B1A45E

#B1A45E is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.092 H 99.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B1A45E
RGBrgb(177, 164, 94)
HSLhsl(51, 35%, 53%)
HSVhsv(51, 47%, 69%)
CMYKcmyk(0%, 7.3%, 46.9%, 30.6%)
CIE-LABlab(67.06, -5.07, 37.86)
CIE-LCHlch(67.06, 38.19, 97.63°)
OKLaboklab(71.43% -0.0144 0.091)
OKLCHoklch(71.43% 0.092 99)
XYZxyz(33.4282, 36.7073, 15.9119)
Luminance0.3671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A45E #5E6BB1
analogous
#B17A5E #B1A45E #94B15E
triadic
#B1A45E #5EB1A4 #A45EB1
tetradic
#B1A45E #5EB17A #5E6BB1 #B15E94
square
#B1A45E #5EB17A #5E6BB1 #B15E94
split-complementary
#B1A45E #5E94B1 #7A5EB1
monochromatic
#645C30 #8D8244 #B1A45E #C5BB87 #D9D3B0

Accessibility & contrast

On white

2.52
#B1A45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B1A45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A45E
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A45E#FFFFFF#000000##000000
##B1A45E1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A058
Deuteranopia (green-blind)
#B4A561
Tritanopia (blue-blind)
#BC9B93
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a45e;
/* rgb */ color: rgb(177, 164, 94);
/* oklch */ color: oklch(71.4% 0.092 99.0);
Tailwind
colors: {
  custom: {
    50: '#cabe8d',
    500: '#b1a45e',
    950: '#000000',
  },
}
SCSS
$custom: #b1a45e;
$custom-light: #cabe8d;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a45e",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 94
  },
  "hsl": {
    "h": 50.602,
    "s": 34.728,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71427,
    "c": 0.09211,
    "h": 99
  },
  "luminance": 0.36706
}

Semantic roles & 50–950 ramp

primary
#B1A45E
secondary
#A4A9C7
accent
#6ECB5D
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B1A45E

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

Preview Lab → · Contrast checker → · Palette generator →

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