#B9C173#B9C173

#B9C173 is a light, moderate yellow. Relative luminance 0.497; OKLCH L 78.7% C 0.102 H 113.5°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#B9C173
RGBrgb(185, 193, 115)
HSLhsl(66, 39%, 60%)
HSVhsv(66, 40%, 76%)
CMYKcmyk(4.1%, 0%, 40.4%, 24.3%)
CIE-LABlab(75.88, -14.68, 38.30)
CIE-LCHlch(75.88, 41.02, 110.97°)
OKLaboklab(78.69% -0.0406 0.0932)
OKLCHoklch(78.69% 0.102 113.5)
XYZxyz(42.1724, 49.6926, 23.5863)
Luminance0.4969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C173 #7B73C1
analogous
#C1A273 #B9C173 #92C173
triadic
#B9C173 #73B9C1 #C173B9
tetradic
#B9C173 #73C1A2 #7B73C1 #C17392
square
#B9C173 #73C1A2 #7B73C1 #C17392
split-complementary
#B9C173 #7392C1 #A273C1
monochromatic
#798139 #A1AB4C #B9C173 #CED49D #E3E7C8

Accessibility & contrast

On white

1.92
#B9C173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#B9C173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C173
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C173#FFFFFF#000000##000000
##B9C1731.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBA6D
Deuteranopia (green-blind)
#CBBC77
Tritanopia (blue-blind)
#C2B9AE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c173;
/* rgb */ color: rgb(185, 193, 115);
/* oklch */ color: oklch(78.7% 0.102 113.5);
Tailwind
colors: {
  custom: {
    50: '#cfd39c',
    500: '#b9c173',
    950: '#000000',
  },
}
SCSS
$custom: #b9c173;
$custom-light: #cfd39c;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c173",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 115
  },
  "hsl": {
    "h": 66.154,
    "s": 38.614,
    "l": 60.392
  },
  "oklch": {
    "l": 0.78693,
    "c": 0.10162,
    "h": 113.5
  },
  "luminance": 0.49692
}

Semantic roles & 50–950 ramp

primary
#B9C173
secondary
#BCB9D7
accent
#34B241
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14140E
muted
#82827E

Preview Lab

Preview with #B9C173

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

Preview Lab → · Contrast checker → · Palette generator →

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