#4F7429#4F7429

#4F7429 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.112 H 131.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4F7429
RGBrgb(79, 116, 41)
HSLhsl(90, 48%, 31%)
HSVhsv(90, 65%, 45%)
CMYKcmyk(31.9%, 0%, 64.7%, 54.5%)
CIE-LABlab(44.68, -26.53, 36.30)
CIE-LCHlch(44.68, 44.96, 126.16°)
OKLaboklab(51.41% -0.0744 0.084)
OKLCHoklch(51.41% 0.112 131.5)
XYZxyz(9.8700, 14.3128, 4.3400)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7429 #4E2974
analogous
#747329 #4F7429 #297429
triadic
#4F7429 #294F74 #74294F
tetradic
#4F7429 #297473 #4E2974 #742929
square
#4F7429 #297473 #4E2974 #742929
split-complementary
#4F7429 #292974 #732974
monochromatic
#111A09 #304719 #4F7429 #6EA139 #8CC355

Accessibility & contrast

On white

5.44
#4F7429 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4F7429 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7429
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7429#FFFFFF#000000##FFFFFF
##4F74291.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B20
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#506F64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f7429;
/* rgb */ color: rgb(79, 116, 41);
/* oklch */ color: oklch(51.4% 0.112 131.5);
Tailwind
colors: {
  custom: {
    50: '#839c66',
    500: '#4f7429',
    950: '#000000',
  },
}
SCSS
$custom: #4f7429;
$custom-light: #839c66;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7429",
  "rgb": {
    "r": 79,
    "g": 116,
    "b": 41
  },
  "hsl": {
    "h": 89.6,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51407,
    "c": 0.11218,
    "h": 131.5
  },
  "luminance": 0.14313
}

Semantic roles & 50–950 ramp

primary
#4F7429
secondary
#7C53A6
accent
#50D793
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F7429

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

Preview Lab → · Contrast checker → · Palette generator →

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