#46771F#46771F

#46771F is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.129 H 134.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#46771F
RGBrgb(70, 119, 31)
HSLhsl(93, 59%, 29%)
HSVhsv(93, 74%, 47%)
CMYKcmyk(41.2%, 0%, 73.9%, 53.3%)
CIE-LABlab(45.07, -32.27, 40.99)
CIE-LCHlch(45.07, 52.17, 128.21°)
OKLaboklab(51.57% -0.0903 0.0926)
OKLCHoklch(51.57% 0.129 134.3)
XYZxyz(9.3698, 14.5942, 3.6193)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46771F #501F77
analogous
#72771F #46771F #1F7724
triadic
#46771F #1F4677 #771F46
tetradic
#46771F #1F7277 #501F77 #77241F
square
#46771F #1F7277 #501F77 #77241F
split-complementary
#46771F #241F77 #771F72
monochromatic
#0E1806 #294612 #46771F #63A82C #80CE43

Accessibility & contrast

On white

5.36
#46771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#46771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #46771F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46771F#FFFFFF#000000##FFFFFF
##46771F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D10
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#457266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #46771f;
/* rgb */ color: rgb(70, 119, 31);
/* oklch */ color: oklch(51.6% 0.129 134.3);
Tailwind
colors: {
  custom: {
    50: '#7e9e61',
    500: '#46771f',
    950: '#000000',
  },
}
SCSS
$custom: #46771f;
$custom-light: #7e9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#46771f",
  "rgb": {
    "r": 70,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 93.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.12933,
    "h": 134.3
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#46771F
secondary
#7F47AB
accent
#46E29D
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #46771F

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

Preview Lab → · Contrast checker → · Palette generator →

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