#46791F#46791F

#46791F is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.1% C 0.132 H 134.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#46791F
RGBrgb(70, 121, 31)
HSLhsl(94, 59%, 30%)
HSVhsv(94, 74%, 47%)
CMYKcmyk(42.1%, 0%, 74.4%, 52.5%)
CIE-LABlab(45.74, -33.17, 41.67)
CIE-LCHlch(45.74, 53.26, 128.53°)
OKLaboklab(52.11% -0.0927 0.094)
OKLCHoklch(52.11% 0.132 134.6)
XYZxyz(9.6103, 15.0753, 3.6995)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46791F #521F79
analogous
#73791F #46791F #1F7925
triadic
#46791F #1F4679 #791F46
tetradic
#46791F #1F7379 #521F79 #79251F
square
#46791F #1F7379 #521F79 #79251F
split-complementary
#46791F #251F79 #791F73
monochromatic
#0E1806 #2A4813 #46791F #62AA2B #80CF43

Accessibility & contrast

On white

5.23
#46791F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#46791F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #46791F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46791F#FFFFFF#000000##FFFFFF
##46791F1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F10
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#457467
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #46791f;
/* rgb */ color: rgb(70, 121, 31);
/* oklch */ color: oklch(52.1% 0.132 134.6);
Tailwind
colors: {
  custom: {
    50: '#7ea061',
    500: '#46791f',
    950: '#000000',
  },
}
SCSS
$custom: #46791f;
$custom-light: #7ea061;
$custom-dark: #000000;
JSON
{
  "hex": "#46791f",
  "rgb": {
    "r": 70,
    "g": 121,
    "b": 31
  },
  "hsl": {
    "h": 94,
    "s": 59.211,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52109,
    "c": 0.13205,
    "h": 134.6
  },
  "luminance": 0.15076
}

Semantic roles & 50–950 ramp

primary
#46791F
secondary
#8147AC
accent
#45E29E
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #46791F

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

Preview Lab → · Contrast checker → · Palette generator →

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