#47792B#47792B

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

Color values

HEX#47792B
RGBrgb(71, 121, 43)
HSLhsl(98, 48%, 32%)
HSVhsv(98, 64%, 47%)
CMYKcmyk(41.3%, 0%, 64.5%, 52.5%)
CIE-LABlab(45.89, -31.74, 36.57)
CIE-LCHlch(45.89, 48.42, 130.96°)
OKLaboklab(52.28% -0.088 0.0849)
OKLCHoklch(52.28% 0.122 136)
XYZxyz(9.8717, 15.1882, 4.6965)
Luminance0.1519 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47792B #5D2B79
analogous
#6E792B #47792B #2B7936
triadic
#47792B #2B4779 #792B47
tetradic
#47792B #2B6E79 #5D2B79 #79362B
square
#47792B #2B6E79 #5D2B79 #79362B
split-complementary
#47792B #362B79 #792B6E
monochromatic
#121F0B #2D4C1B #47792B #61A63B #80C45A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##47792B#FFFFFF#000000##FFFFFF
##47792B1.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)
#7D6F22
Deuteranopia (green-blind)
#766B31
Tritanopia (blue-blind)
#457568
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #47792b;
/* rgb */ color: rgb(71, 121, 43);
/* oklch */ color: oklch(52.3% 0.122 136.0);
Tailwind
colors: {
  custom: {
    50: '#7ea068',
    500: '#47792b',
    950: '#000000',
  },
}
SCSS
$custom: #47792b;
$custom-light: #7ea068;
$custom-dark: #000000;
JSON
{
  "hex": "#47792b",
  "rgb": {
    "r": 71,
    "g": 121,
    "b": 43
  },
  "hsl": {
    "h": 98.462,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52282,
    "c": 0.12224,
    "h": 136
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#47792B
secondary
#8C56AA
accent
#51D7A7
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #47792B

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

Preview Lab → · Contrast checker → · Palette generator →

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