#B5C170#B5C170

#B5C170 is a light, moderate yellow. Relative luminance 0.491; OKLCH L 78.3% C 0.106 H 115.8°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#B5C170
RGBrgb(181, 193, 112)
HSLhsl(69, 40%, 60%)
HSVhsv(69, 42%, 76%)
CMYKcmyk(6.2%, 0%, 42%, 24.3%)
CIE-LABlab(75.53, -16.60, 39.32)
CIE-LCHlch(75.53, 42.68, 112.89°)
OKLaboklab(78.33% -0.0461 0.0953)
OKLCHoklch(78.33% 0.106 115.8)
XYZxyz(41.0510, 49.1340, 22.6473)
Luminance0.4913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5C170 #7C70C1
analogous
#C1A570 #B5C170 #8DC170
triadic
#B5C170 #70B5C1 #C170B5
tetradic
#B5C170 #70C1A5 #7C70C1 #C1708D
square
#B5C170 #70C1A5 #7C70C1 #C1708D
split-complementary
#B5C170 #708DC1 #A570C1
monochromatic
#757F37 #9CAA4A #B5C170 #CBD49B #E1E6C5

Accessibility & contrast

On white

1.94
#B5C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#B5C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5C170
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5C170#FFFFFF#000000##000000
##B5C1701.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBBA6A
Deuteranopia (green-blind)
#CABB74
Tritanopia (blue-blind)
#BDB9AD
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #b5c170;
/* rgb */ color: rgb(181, 193, 112);
/* oklch */ color: oklch(78.3% 0.106 115.8);
Tailwind
colors: {
  custom: {
    50: '#ccd39a',
    500: '#b5c170',
    950: '#000000',
  },
}
SCSS
$custom: #b5c170;
$custom-light: #ccd39a;
$custom-dark: #000000;
JSON
{
  "hex": "#b5c170",
  "rgb": {
    "r": 181,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 68.889,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78328,
    "c": 0.1059,
    "h": 115.8
  },
  "luminance": 0.49134
}

Semantic roles & 50–950 ramp

primary
#B5C170
secondary
#BBB7D6
accent
#58CF6A
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #B5C170

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

Preview Lab → · Contrast checker → · Palette generator →

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