#46871B#46871B

#46871B is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 55.9% C 0.153 H 136.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#46871B
RGBrgb(70, 135, 27)
HSLhsl(96, 67%, 32%)
HSVhsv(96, 80%, 53%)
CMYKcmyk(48.1%, 0%, 80%, 47.1%)
CIE-LABlab(50.34, -39.48, 47.64)
CIE-LCHlch(50.34, 61.87, 129.65°)
OKLaboklab(55.88% -0.11 0.1059)
OKLCHoklch(55.88% 0.153 136.1)
XYZxyz(11.3873, 18.7084, 4.0478)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46871B #5C1B87
analogous
#7C871B #46871B #1B8726
triadic
#46871B #1B4687 #871B46
tetradic
#46871B #1B7C87 #5C1B87 #87261B
square
#46871B #1B7C87 #5C1B87 #87261B
split-complementary
#46871B #261B87 #871B7C
monochromatic
#112107 #2C5411 #46871B #60BA25 #7FD943

Accessibility & contrast

On white

4.43
#46871B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#46871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #46871B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46871B#FFFFFF#000000##000000
##46871B1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#438273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #46871b;
/* rgb */ color: rgb(70, 135, 27);
/* oklch */ color: oklch(55.9% 0.153 136.1);
Tailwind
colors: {
  custom: {
    50: '#80aa61',
    500: '#46871b',
    950: '#000000',
  },
}
SCSS
$custom: #46871b;
$custom-light: #80aa61;
$custom-dark: #000000;
JSON
{
  "hex": "#46871b",
  "rgb": {
    "r": 70,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 96.111,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5588,
    "c": 0.1527,
    "h": 136.1
  },
  "luminance": 0.18709
}

Semantic roles & 50–950 ramp

primary
#46871B
secondary
#8B44BA
accent
#3EEAA5
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1005
muted
#7C7F7A

Preview Lab

Preview with #46871B

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

Preview Lab → · Contrast checker → · Palette generator →

#46871B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva