#B1A458#B1A458

#B1A458 is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.3% C 0.099 H 99.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B1A458
RGBrgb(177, 164, 88)
HSLhsl(51, 36%, 52%)
HSVhsv(51, 50%, 69%)
CMYKcmyk(0%, 7.3%, 50.3%, 30.6%)
CIE-LABlab(66.98, -5.64, 40.82)
CIE-LCHlch(66.98, 41.21, 97.87°)
OKLaboklab(71.34% -0.0167 0.0971)
OKLCHoklch(71.34% 0.099 99.8)
XYZxyz(33.1694, 36.6038, 14.5487)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1A458 #5865B1
analogous
#B17858 #B1A458 #92B158
triadic
#B1A458 #58B1A4 #A458B1
tetradic
#B1A458 #58B178 #5865B1 #B15892
square
#B1A458 #58B178 #5865B1 #B15892
split-complementary
#B1A458 #5892B1 #7858B1
monochromatic
#615A2D #8B8041 #B1A458 #C4BB82 #D8D1AB

Accessibility & contrast

On white

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

On black

8.32
#B1A458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B1A458
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1A458#FFFFFF#000000##000000
##B1A4581.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A051
Deuteranopia (green-blind)
#B4A55B
Tritanopia (blue-blind)
#BD9B92
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b1a458;
/* rgb */ color: rgb(177, 164, 88);
/* oklch */ color: oklch(71.3% 0.099 99.8);
Tailwind
colors: {
  custom: {
    50: '#cabe89',
    500: '#b1a458',
    950: '#000000',
  },
}
SCSS
$custom: #b1a458;
$custom-light: #cabe89;
$custom-dark: #000000;
JSON
{
  "hex": "#b1a458",
  "rgb": {
    "r": 177,
    "g": 164,
    "b": 88
  },
  "hsl": {
    "h": 51.236,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.7134,
    "c": 0.0985,
    "h": 99.8
  },
  "luminance": 0.36603
}

Semantic roles & 50–950 ramp

primary
#B1A458
secondary
#9FA5C6
accent
#6CCC5B
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#13120C
muted
#82817D

Preview Lab

Preview with #B1A458

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

Preview Lab → · Contrast checker → · Palette generator →

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