#47792A#47792A

#47792A is a mid, vivid yellow-green. Relative luminance 0.152; OKLCH L 52.3% C 0.123 H 135.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#47792A
RGBrgb(71, 121, 42)
HSLhsl(98, 48%, 32%)
HSVhsv(98, 65%, 47%)
CMYKcmyk(41.3%, 0%, 65.3%, 52.5%)
CIE-LABlab(45.88, -31.84, 37.03)
CIE-LCHlch(45.88, 48.84, 130.69°)
OKLaboklab(52.27% -0.0883 0.0858)
OKLCHoklch(52.27% 0.123 135.8)
XYZxyz(9.8536, 15.1810, 4.6011)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47792A #5C2A79
analogous
#6F792A #47792A #2A7935
triadic
#47792A #2A4779 #792A47
tetradic
#47792A #2A6F79 #5C2A79 #79352A
square
#47792A #2A6F79 #5C2A79 #79352A
split-complementary
#47792A #352A79 #792A6F
monochromatic
#121E0A #2C4C1A #47792A #62A63A #80C558

Accessibility & contrast

On white

5.20
#47792A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#47792A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #47792A
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47792A#FFFFFF#000000##FFFFFF
##47792A1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #47792a;
/* rgb */ color: rgb(71, 121, 42);
/* oklch */ color: oklch(52.3% 0.123 135.8);
Tailwind
colors: {
  custom: {
    50: '#7ea067',
    500: '#47792a',
    950: '#000000',
  },
}
SCSS
$custom: #47792a;
$custom-light: #7ea067;
$custom-dark: #000000;
JSON
{
  "hex": "#47792a",
  "rgb": {
    "r": 71,
    "g": 121,
    "b": 42
  },
  "hsl": {
    "h": 97.975,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.12309,
    "h": 135.8
  },
  "luminance": 0.15182
}

Semantic roles & 50–950 ramp

primary
#47792A
secondary
#8B54AB
accent
#50D8A6
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #47792A

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

Preview Lab → · Contrast checker → · Palette generator →

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