#46791C#46791C

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

Color values

HEX#46791C
RGBrgb(70, 121, 28)
HSLhsl(93, 62%, 29%)
HSVhsv(93, 77%, 47%)
CMYKcmyk(42.1%, 0%, 76.9%, 52.5%)
CIE-LABlab(45.72, -33.39, 42.81)
CIE-LCHlch(45.72, 54.29, 127.95°)
OKLaboklab(52.09% -0.0935 0.0959)
OKLCHoklch(52.09% 0.134 134.3)
XYZxyz(9.5726, 15.0602, 3.5009)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46791C #4F1C79
analogous
#75791C #46791C #1C7921
triadic
#46791C #1C4679 #791C46
tetradic
#46791C #1C7579 #4F1C79 #79211C
square
#46791C #1C7579 #4F1C79 #79211C
split-complementary
#46791C #211C79 #791C75
monochromatic
#0E1906 #294710 #46791C #63AB28 #80D23D

Accessibility & contrast

On white

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

On black

4.01
#46791C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##46791C#FFFFFF#000000##FFFFFF
##46791C1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46791c;
/* rgb */ color: rgb(70, 121, 28);
/* oklch */ color: oklch(52.1% 0.134 134.3);
Tailwind
colors: {
  custom: {
    50: '#7ea05f',
    500: '#46791c',
    950: '#000000',
  },
}
SCSS
$custom: #46791c;
$custom-light: #7ea05f;
$custom-dark: #000000;
JSON
{
  "hex": "#46791c",
  "rgb": {
    "r": 70,
    "g": 121,
    "b": 28
  },
  "hsl": {
    "h": 92.903,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52086,
    "c": 0.134,
    "h": 134.3
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#46791C
secondary
#7D44AD
accent
#42E59C
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #46791C

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

Preview Lab → · Contrast checker → · Palette generator →

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