#B4C170#B4C170

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

Color values

HEX#B4C170
RGBrgb(180, 193, 112)
HSLhsl(70, 40%, 60%)
HSVhsv(70, 42%, 76%)
CMYKcmyk(6.7%, 0%, 42%, 24.3%)
CIE-LABlab(75.46, -16.99, 39.21)
CIE-LCHlch(75.46, 42.73, 113.43°)
OKLaboklab(78.25% -0.0472 0.0951)
OKLCHoklch(78.25% 0.106 116.4)
XYZxyz(40.8173, 49.0135, 22.6364)
Luminance0.4901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4C170 #7D70C1
analogous
#C1A670 #B4C170 #8BC170
triadic
#B4C170 #70B4C1 #C170B4
tetradic
#B4C170 #70C1A6 #7D70C1 #C1708B
square
#B4C170 #70C1A6 #7D70C1 #C1708B
split-complementary
#B4C170 #708BC1 #A670C1
monochromatic
#747F37 #9BAA4A #B4C170 #CAD49B #E1E6C5

Accessibility & contrast

On white

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

On black

10.80
#B4C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4C170
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4C170#FFFFFF#000000##000000
##B4C1701.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4c170;
/* rgb */ color: rgb(180, 193, 112);
/* oklch */ color: oklch(78.3% 0.106 116.4);
Tailwind
colors: {
  custom: {
    50: '#ccd39a',
    500: '#b4c170',
    950: '#000000',
  },
}
SCSS
$custom: #b4c170;
$custom-light: #ccd39a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4c170",
  "rgb": {
    "r": 180,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 69.63,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.7825,
    "c": 0.10616,
    "h": 116.4
  },
  "luminance": 0.49013
}

Semantic roles & 50–950 ramp

primary
#B4C170
secondary
#BCB7D6
accent
#58CF6B
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #B4C170

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

Preview Lab → · Contrast checker → · Palette generator →

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