#46771B#46771B

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

Color values

HEX#46771B
RGBrgb(70, 119, 27)
HSLhsl(92, 63%, 29%)
HSVhsv(92, 77%, 47%)
CMYKcmyk(41.2%, 0%, 77.3%, 53.3%)
CIE-LABlab(45.05, -32.56, 42.53)
CIE-LCHlch(45.05, 53.56, 127.44°)
OKLaboklab(51.53% -0.0914 0.0952)
OKLCHoklch(51.53% 0.132 133.8)
XYZxyz(9.3203, 14.5744, 3.3587)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46771B #4C1B77
analogous
#74771B #46771B #1B771E
triadic
#46771B #1B4677 #771B46
tetradic
#46771B #1B7477 #4C1B77 #771E1B
square
#46771B #1B7477 #4C1B77 #771E1B
split-complementary
#46771B #1E1B77 #771B74
monochromatic
#0F1906 #294510 #46771B #63A926 #81D23A

Accessibility & contrast

On white

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

On black

3.91
#46771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##46771B#FFFFFF#000000##FFFFFF
##46771B1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D08
Deuteranopia (green-blind)
#756924
Tritanopia (blue-blind)
#467265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #46771b;
/* rgb */ color: rgb(70, 119, 27);
/* oklch */ color: oklch(51.5% 0.132 133.8);
Tailwind
colors: {
  custom: {
    50: '#7e9e5f',
    500: '#46771b',
    950: '#000000',
  },
}
SCSS
$custom: #46771b;
$custom-light: #7e9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#46771b",
  "rgb": {
    "r": 70,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 91.957,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.13195,
    "h": 133.8
  },
  "luminance": 0.14575
}

Semantic roles & 50–950 ramp

primary
#46771B
secondary
#7A42AB
accent
#42E699
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #46771B

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

Preview Lab → · Contrast checker → · Palette generator →

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