#46811F#46811F

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

Color values

HEX#46811F
RGBrgb(70, 129, 31)
HSLhsl(96, 61%, 31%)
HSVhsv(96, 76%, 51%)
CMYKcmyk(45.7%, 0%, 76%, 49.4%)
CIE-LABlab(48.39, -36.68, 44.32)
CIE-LCHlch(48.39, 57.53, 129.61°)
OKLaboklab(54.28% -0.1022 0.0996)
OKLCHoklch(54.28% 0.143 135.8)
XYZxyz(10.6231, 17.1009, 4.0371)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46811F #5A1F81
analogous
#77811F #46811F #1F8129
triadic
#46811F #1F4681 #811F46
tetradic
#46811F #1F7781 #5A1F81 #81291F
square
#46811F #1F7781 #5A1F81 #81291F
split-complementary
#46811F #291F81 #811F77
monochromatic
#101E07 #2B5013 #46811F #61B22B #7FD347

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##46811F#FFFFFF#000000##FFFFFF
##46811F1.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)
#86760C
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#447C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #46811f;
/* rgb */ color: rgb(70, 129, 31);
/* oklch */ color: oklch(54.3% 0.143 135.8);
Tailwind
colors: {
  custom: {
    50: '#7fa662',
    500: '#46811f',
    950: '#000000',
  },
}
SCSS
$custom: #46811f;
$custom-light: #7fa662;
$custom-dark: #000000;
JSON
{
  "hex": "#46811f",
  "rgb": {
    "r": 70,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 96.122,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5428,
    "c": 0.1427,
    "h": 135.8
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

primary
#46811F
secondary
#8948B4
accent
#43E4A4
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #46811F

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

Preview Lab → · Contrast checker → · Palette generator →

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