#46791B#46791B

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

Color values

HEX#46791B
RGBrgb(70, 121, 27)
HSLhsl(93, 64%, 29%)
HSVhsv(93, 78%, 47%)
CMYKcmyk(42.1%, 0%, 77.7%, 52.5%)
CIE-LABlab(45.71, -33.46, 43.18)
CIE-LCHlch(45.71, 54.62, 127.77°)
OKLaboklab(52.08% -0.0938 0.0966)
OKLCHoklch(52.08% 0.135 134.2)
XYZxyz(9.5608, 15.0555, 3.4389)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46791B #4E1B79
analogous
#75791B #46791B #1B791F
triadic
#46791B #1B4679 #791B46
tetradic
#46791B #1B7579 #4E1B79 #791F1B
square
#46791B #1B7579 #4E1B79 #791F1B
split-complementary
#46791B #1F1B79 #791B75
monochromatic
#0E1906 #294710 #46791B #63AB26 #81D33B

Accessibility & contrast

On white

5.24
#46791B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #46791B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46791B#FFFFFF#000000##FFFFFF
##46791B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #46791b;
/* rgb */ color: rgb(70, 121, 27);
/* oklch */ color: oklch(52.1% 0.135 134.2);
Tailwind
colors: {
  custom: {
    50: '#7ea05f',
    500: '#46791b',
    950: '#000000',
  },
}
SCSS
$custom: #46791b;
$custom-light: #7ea05f;
$custom-dark: #000000;
JSON
{
  "hex": "#46791b",
  "rgb": {
    "r": 70,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 92.553,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52078,
    "c": 0.13462,
    "h": 134.2
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#46791B
secondary
#7C43AD
accent
#41E79B
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0A0E05
muted
#7C7E79

Preview Lab

Preview with #46791B

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

Preview Lab → · Contrast checker → · Palette generator →

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