#B9B77C#B9B77C

#B9B77C is a light, moderate yellow. Relative luminance 0.456; OKLCH L 76.7% C 0.078 H 106.5°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#B9B77C
RGBrgb(185, 183, 124)
HSLhsl(58, 30%, 61%)
HSVhsv(58, 33%, 73%)
CMYKcmyk(0%, 1.1%, 33%, 27.5%)
CIE-LABlab(73.31, -8.46, 30.32)
CIE-LCHlch(73.31, 31.48, 105.59°)
OKLaboklab(76.69% -0.0222 0.0752)
OKLCHoklch(76.69% 0.078 106.5)
XYZxyz(40.5795, 45.6373, 25.7361)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B77C #7C7EB9
analogous
#B9987C #B9B77C #9CB97C
triadic
#B9B77C #7CB9B7 #B77CB9
tetradic
#B9B77C #7CB998 #7C7EB9 #B97C9C
square
#B9B77C #7CB998 #7C7EB9 #B97C9C
split-complementary
#B9B77C #7C9CB9 #987CB9
monochromatic
#7A7841 #A29F56 #B9B77C #CECDA4 #E4E3CC

Accessibility & contrast

On white

2.07
#B9B77C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#B9B77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B77C
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B77C#FFFFFF#000000##000000
##B9B77C1.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B278
Deuteranopia (green-blind)
#C2B57E
Tritanopia (blue-blind)
#C2B0A8
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b9b77c;
/* rgb */ color: rgb(185, 183, 124);
/* oklch */ color: oklch(76.7% 0.078 106.5);
Tailwind
colors: {
  custom: {
    50: '#cfcca2',
    500: '#b9b77c',
    950: '#000000',
  },
}
SCSS
$custom: #b9b77c;
$custom-light: #cfcca2;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b77c",
  "rgb": {
    "r": 185,
    "g": 183,
    "b": 124
  },
  "hsl": {
    "h": 58.033,
    "s": 30.348,
    "l": 60.588
  },
  "oklch": {
    "l": 0.76694,
    "c": 0.0784,
    "h": 106.5
  },
  "luminance": 0.45636
}

Semantic roles & 50–950 ramp

primary
#B9B77C
secondary
#BDBED4
accent
#40A93C
background
#FCFCFA
surface
#F9F8F3
border
#D2D1CD
text
#14130F
muted
#82827F

Preview Lab

Preview with #B9B77C

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

Preview Lab → · Contrast checker → · Palette generator →

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