#46781F#46781F

#46781F is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.8% C 0.131 H 134.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#46781F
RGBrgb(70, 120, 31)
HSLhsl(94, 59%, 30%)
HSVhsv(94, 74%, 47%)
CMYKcmyk(41.7%, 0%, 74.2%, 52.9%)
CIE-LABlab(45.41, -32.72, 41.33)
CIE-LCHlch(45.41, 52.72, 128.37°)
OKLaboklab(51.84% -0.0915 0.0933)
OKLCHoklch(51.84% 0.131 134.4)
XYZxyz(9.4894, 14.8335, 3.6592)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46781F #511F78
analogous
#73781F #46781F #1F7825
triadic
#46781F #1F4678 #781F46
tetradic
#46781F #1F7378 #511F78 #78251F
square
#46781F #1F7378 #511F78 #78251F
split-complementary
#46781F #251F78 #781F73
monochromatic
#0E1806 #2A4712 #46781F #62A92C #80CE43

Accessibility & contrast

On white

5.29
#46781F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#46781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #46781F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46781F#FFFFFF#000000##FFFFFF
##46781F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E10
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#457367
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #46781f;
/* rgb */ color: rgb(70, 120, 31);
/* oklch */ color: oklch(51.8% 0.131 134.4);
Tailwind
colors: {
  custom: {
    50: '#7e9f61',
    500: '#46781f',
    950: '#000000',
  },
}
SCSS
$custom: #46781f;
$custom-light: #7e9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#46781f",
  "rgb": {
    "r": 70,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 93.708,
    "s": 58.94,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.1307,
    "h": 134.4
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#46781F
secondary
#8047AB
accent
#46E29E
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #46781F

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

Preview Lab → · Contrast checker → · Palette generator →

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