#B7C170#B7C170

#B7C170 is a light, moderate yellow. Relative luminance 0.494; OKLCH L 78.5% C 0.105 H 114.6°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#B7C170
RGBrgb(183, 193, 112)
HSLhsl(67, 40%, 60%)
HSVhsv(67, 42%, 76%)
CMYKcmyk(5.2%, 0%, 42%, 24.3%)
CIE-LABlab(75.69, -15.80, 39.54)
CIE-LCHlch(75.69, 42.58, 111.79°)
OKLaboklab(78.49% -0.0439 0.0958)
OKLCHoklch(78.49% 0.105 114.6)
XYZxyz(41.5234, 49.3776, 22.6695)
Luminance0.4938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C170 #7A70C1
analogous
#C1A270 #B7C170 #8FC170
triadic
#B7C170 #70B7C1 #C170B7
tetradic
#B7C170 #70C1A2 #7A70C1 #C1708F
square
#B7C170 #70C1A2 #7A70C1 #C1708F
split-complementary
#B7C170 #708FC1 #A270C1
monochromatic
#767F37 #9EAA4A #B7C170 #CCD49B #E2E6C5

Accessibility & contrast

On white

1.93
#B7C170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#B7C170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C170
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C170#FFFFFF#000000##000000
##B7C1701.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7c170;
/* rgb */ color: rgb(183, 193, 112);
/* oklch */ color: oklch(78.5% 0.105 114.6);
Tailwind
colors: {
  custom: {
    50: '#ced39a',
    500: '#b7c170',
    950: '#000000',
  },
}
SCSS
$custom: #b7c170;
$custom-light: #ced39a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c170",
  "rgb": {
    "r": 183,
    "g": 193,
    "b": 112
  },
  "hsl": {
    "h": 67.407,
    "s": 39.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78486,
    "c": 0.10542,
    "h": 114.6
  },
  "luminance": 0.49377
}

Semantic roles & 50–950 ramp

primary
#B7C170
secondary
#BBB7D6
accent
#58CF67
background
#FCFCF9
surface
#F9F9F2
border
#D2D2CC
text
#14140E
muted
#82827E

Preview Lab

Preview with #B7C170

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

Preview Lab → · Contrast checker → · Palette generator →

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