#46792A#46792A

#46792A is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.2% C 0.124 H 136.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#46792A
RGBrgb(70, 121, 42)
HSLhsl(99, 48%, 32%)
HSVhsv(99, 65%, 47%)
CMYKcmyk(42.1%, 0%, 65.3%, 52.5%)
CIE-LABlab(45.83, -32.20, 36.96)
CIE-LCHlch(45.83, 49.02, 131.07°)
OKLaboklab(52.22% -0.0892 0.0856)
OKLCHoklch(52.22% 0.124 136.2)
XYZxyz(9.7808, 15.1435, 4.5977)
Luminance0.1514 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46792A #5D2A79
analogous
#6E792A #46792A #2A7936
triadic
#46792A #2A4679 #792A46
tetradic
#46792A #2A6E79 #5D2A79 #79362A
square
#46792A #2A6E79 #5D2A79 #79362A
split-complementary
#46792A #362A79 #792A6E
monochromatic
#111E0A #2C4C1A #46792A #60A63A #7FC558

Accessibility & contrast

On white

5.21
#46792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#46792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #46792A
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46792A#FFFFFF#000000##FFFFFF
##46792A1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F21
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#447568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #46792a;
/* rgb */ color: rgb(70, 121, 42);
/* oklch */ color: oklch(52.2% 0.124 136.2);
Tailwind
colors: {
  custom: {
    50: '#7ea067',
    500: '#46792a',
    950: '#000000',
  },
}
SCSS
$custom: #46792a;
$custom-light: #7ea067;
$custom-dark: #000000;
JSON
{
  "hex": "#46792a",
  "rgb": {
    "r": 70,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 98.734,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.12366,
    "h": 136.2
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#46792A
secondary
#8C54AB
accent
#50D8A8
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A

Preview Lab

Preview with #46792A

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

Preview Lab → · Contrast checker → · Palette generator →

#46792A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva