#4F7F29#4F7F29

#4F7F29 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.3% C 0.128 H 133.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4F7F29
RGBrgb(79, 127, 41)
HSLhsl(93, 51%, 33%)
HSVhsv(93, 68%, 50%)
CMYKcmyk(37.8%, 0%, 67.7%, 50.2%)
CIE-LABlab(48.26, -31.75, 40.20)
CIE-LCHlch(48.26, 51.23, 128.30°)
OKLaboklab(54.33% -0.0887 0.0922)
OKLCHoklch(54.33% 0.128 133.9)
XYZxyz(11.2139, 17.0006, 4.7880)
Luminance0.1700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7F29 #59297F
analogous
#7A7F29 #4F7F29 #297F2E
triadic
#4F7F29 #294F7F #7F294F
tetradic
#4F7F29 #297A7F #59297F #7F2E29
square
#4F7F29 #297A7F #59297F #7F2E29
split-complementary
#4F7F29 #2E297F #7F297A
monochromatic
#15220B #32511A #4F7F29 #6CAD38 #8BC959

Accessibility & contrast

On white

4.77
#4F7F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4F7F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7F29
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7F29#FFFFFF#000000##FFFFFF
##4F7F291.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84751E
Deuteranopia (green-blind)
#7D7130
Tritanopia (blue-blind)
#4F7A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f7f29;
/* rgb */ color: rgb(79, 127, 41);
/* oklch */ color: oklch(54.3% 0.128 133.9);
Tailwind
colors: {
  custom: {
    50: '#84a467',
    500: '#4f7f29',
    950: '#000000',
  },
}
SCSS
$custom: #4f7f29;
$custom-light: #84a467;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7f29",
  "rgb": {
    "r": 79,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 93.488,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.54325,
    "c": 0.12795,
    "h": 133.9
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

primary
#4F7F29
secondary
#8755AF
accent
#4DDB9C
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7F29

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

Preview Lab → · Contrast checker → · Palette generator →

#4F7F29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva