#4F7722#4F7722

#4F7722 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.1% C 0.122 H 131.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4F7722
RGBrgb(79, 119, 34)
HSLhsl(88, 56%, 30%)
HSVhsv(88, 71%, 47%)
CMYKcmyk(33.6%, 0%, 71.4%, 53.3%)
CIE-LABlab(45.59, -28.59, 40.44)
CIE-LCHlch(45.59, 49.52, 125.26°)
OKLaboklab(52.13% -0.0806 0.0917)
OKLCHoklch(52.13% 0.122 131.3)
XYZxyz(10.1099, 14.9711, 3.8701)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7722 #4A2277
analogous
#777422 #4F7722 #257722
triadic
#4F7722 #224F77 #77224F
tetradic
#4F7722 #227774 #4A2277 #772225
square
#4F7722 #227774 #4A2277 #772225
split-complementary
#4F7722 #222577 #742277
monochromatic
#101807 #2F4714 #4F7722 #6FA730 #8ECB49

Accessibility & contrast

On white

5.26
#4F7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#4F7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7722
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7722#FFFFFF#000000##FFFFFF
##4F77221.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#507266
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f7722;
/* rgb */ color: rgb(79, 119, 34);
/* oklch */ color: oklch(52.1% 0.122 131.3);
Tailwind
colors: {
  custom: {
    50: '#849e62',
    500: '#4f7722',
    950: '#000000',
  },
}
SCSS
$custom: #4f7722;
$custom-light: #849e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7722",
  "rgb": {
    "r": 79,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 88.235,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.12214,
    "h": 131.3
  },
  "luminance": 0.14971
}

Semantic roles & 50–950 ramp

primary
#4F7722
secondary
#784BAA
accent
#49DF8F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7722

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

Preview Lab → · Contrast checker → · Palette generator →

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