#46871F#46871F

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

Color values

HEX#46871F
RGBrgb(70, 135, 31)
HSLhsl(98, 63%, 33%)
HSVhsv(98, 77%, 53%)
CMYKcmyk(48.1%, 0%, 77%, 47.1%)
CIE-LABlab(50.37, -39.22, 46.27)
CIE-LCHlch(50.37, 60.66, 130.28°)
OKLaboklab(55.91% -0.1091 0.1037)
OKLCHoklch(55.91% 0.15 136.5)
XYZxyz(11.4368, 18.7282, 4.3083)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46871F #601F87
analogous
#7A871F #46871F #1F872C
triadic
#46871F #1F4687 #871F46
tetradic
#46871F #1F7A87 #601F87 #872C1F
square
#46871F #1F7A87 #601F87 #872C1F
split-complementary
#46871F #2C1F87 #871F7A
monochromatic
#122308 #2C5514 #46871F #60B92A #7FD64B

Accessibility & contrast

On white

4.42
#46871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#46871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #46871F
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46871F#FFFFFF#000000##000000
##46871F1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#83762A
Tritanopia (blue-blind)
#438273
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #46871f;
/* rgb */ color: rgb(70, 135, 31);
/* oklch */ color: oklch(55.9% 0.150 136.5);
Tailwind
colors: {
  custom: {
    50: '#80aa63',
    500: '#46871f',
    950: '#000000',
  },
}
SCSS
$custom: #46871f;
$custom-light: #80aa63;
$custom-dark: #000000;
JSON
{
  "hex": "#46871f",
  "rgb": {
    "r": 70,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 97.5,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.55907,
    "c": 0.15047,
    "h": 136.5
  },
  "luminance": 0.18729
}

Semantic roles & 50–950 ramp

primary
#46871F
secondary
#8F4AB8
accent
#42E6A8
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B1006
muted
#7C7F7A

Preview Lab

Preview with #46871F

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

Preview Lab → · Contrast checker → · Palette generator →

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