#B9C170#B9C170

#B9C170 is a light, moderate yellow. Relative luminance 0.496; OKLCH L 78.6% C 0.105 H 113.4°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#B9C170
RGBrgb(185, 193, 112)
HSLhsl(66, 40%, 60%)
HSVhsv(66, 42%, 76%)
CMYKcmyk(4.1%, 0%, 42%, 24.3%)
CIE-LABlab(75.84, -15.01, 39.77)
CIE-LCHlch(75.84, 42.50, 110.68°)
OKLaboklab(78.65% -0.0417 0.0963)
OKLCHoklch(78.65% 0.105 113.4)
XYZxyz(42.0026, 49.6247, 22.6919)
Luminance0.4962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C170 #7870C1
analogous
#C1A170 #B9C170 #91C170
triadic
#B9C170 #70B9C1 #C170B9
tetradic
#B9C170 #70C1A1 #7870C1 #C17091
square
#B9C170 #70C1A1 #7870C1 #C17091
split-complementary
#B9C170 #7091C1 #A170C1
monochromatic
#787F37 #A1AA4A #B9C170 #CED49B #E3E6C5

Accessibility & contrast

On white

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

On black

10.92
#B9C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C170
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C170#FFFFFF#000000##000000
##B9C1701.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCBA6A
Deuteranopia (green-blind)
#CBBC74
Tritanopia (blue-blind)
#C2B9AD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #b9c170;
/* rgb */ color: rgb(185, 193, 112);
/* oklch */ color: oklch(78.6% 0.105 113.4);
Tailwind
colors: {
  custom: {
    50: '#cfd39a',
    500: '#b9c170',
    950: '#000000',
  },
}
SCSS
$custom: #b9c170;
$custom-light: #cfd39a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c170",
  "rgb": {
    "r": 185,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 65.926,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78646,
    "c": 0.10497,
    "h": 113.4
  },
  "luminance": 0.49624
}

Semantic roles & 50–950 ramp

primary
#B9C170
secondary
#BAB7D6
accent
#58CF64
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14140E
muted
#82827E

Preview Lab

Preview with #B9C170

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

Preview Lab → · Contrast checker → · Palette generator →

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