#4F7522#4F7522

#4F7522 is a mid, moderate yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.119 H 130.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4F7522
RGBrgb(79, 117, 34)
HSLhsl(87, 55%, 30%)
HSVhsv(87, 71%, 46%)
CMYKcmyk(32.5%, 0%, 70.9%, 54.1%)
CIE-LABlab(44.94, -27.63, 39.76)
CIE-LCHlch(44.94, 48.42, 124.79°)
OKLaboklab(51.6% -0.078 0.0903)
OKLCHoklch(51.6% 0.119 130.8)
XYZxyz(9.8744, 14.5000, 3.7916)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7522 #482275
analogous
#757222 #4F7522 #257522
triadic
#4F7522 #224F75 #75224F
tetradic
#4F7522 #227572 #482275 #752225
square
#4F7522 #227572 #482275 #752225
split-complementary
#4F7522 #222575 #722275
monochromatic
#101807 #2F4614 #4F7522 #6FA430 #8ECA48

Accessibility & contrast

On white

5.38
#4F7522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4F7522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7522
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7522#FFFFFF#000000##FFFFFF
##4F75221.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C16
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#517064
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f7522;
/* rgb */ color: rgb(79, 117, 34);
/* oklch */ color: oklch(51.6% 0.119 130.8);
Tailwind
colors: {
  custom: {
    50: '#849d62',
    500: '#4f7522',
    950: '#000000',
  },
}
SCSS
$custom: #4f7522;
$custom-light: #849d62;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7522",
  "rgb": {
    "r": 79,
    "g": 117,
    "b": 34
  },
  "hsl": {
    "h": 87.47,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.11934,
    "h": 130.8
  },
  "luminance": 0.145
}

Semantic roles & 50–950 ramp

primary
#4F7522
secondary
#754BA8
accent
#49DE8E
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4F7522

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

Preview Lab → · Contrast checker → · Palette generator →

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