#46811C#46811C

#46811C is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.144 H 135.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#46811C
RGBrgb(70, 129, 28)
HSLhsl(95, 64%, 31%)
HSVhsv(95, 78%, 51%)
CMYKcmyk(45.7%, 0%, 78.3%, 49.4%)
CIE-LABlab(48.37, -36.89, 45.40)
CIE-LCHlch(48.37, 58.50, 129.09°)
OKLaboklab(54.26% -0.103 0.1014)
OKLCHoklch(54.26% 0.145 135.5)
XYZxyz(10.5854, 17.0858, 3.8385)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46811C #571C81
analogous
#78811C #46811C #1C8125
triadic
#46811C #1C4681 #811C46
tetradic
#46811C #1C7881 #571C81 #81251C
square
#46811C #1C7881 #571C81 #81251C
split-complementary
#46811C #251C81 #811C78
monochromatic
#0F1C06 #2B4F11 #46811C #61B327 #7FD642

Accessibility & contrast

On white

4.75
#46811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#46811C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #46811C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46811C#FFFFFF#000000##FFFFFF
##46811C1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867605
Deuteranopia (green-blind)
#7E7127
Tritanopia (blue-blind)
#447C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #46811c;
/* rgb */ color: rgb(70, 129, 28);
/* oklch */ color: oklch(54.3% 0.144 135.5);
Tailwind
colors: {
  custom: {
    50: '#7fa660',
    500: '#46811c',
    950: '#000000',
  },
}
SCSS
$custom: #46811c;
$custom-light: #7fa660;
$custom-dark: #000000;
JSON
{
  "hex": "#46811c",
  "rgb": {
    "r": 70,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 95.05,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54259,
    "c": 0.1445,
    "h": 135.5
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#46811C
secondary
#8644B4
accent
#40E7A2
background
#F8FAF5
surface
#EFF4EA
border
#CACEC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #46811C

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

Preview Lab → · Contrast checker → · Palette generator →

#46811C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva