#4F7C22#4F7C22

#4F7C22 is a mid, vivid yellow-green. Relative luminance 0.162; OKLCH L 53.5% C 0.129 H 132.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4F7C22
RGBrgb(79, 124, 34)
HSLhsl(90, 57%, 31%)
HSVhsv(90, 73%, 49%)
CMYKcmyk(36.3%, 0%, 72.6%, 51.4%)
CIE-LABlab(47.23, -30.94, 42.12)
CIE-LCHlch(47.23, 52.26, 126.30°)
OKLaboklab(53.46% -0.0871 0.0953)
OKLCHoklch(53.46% 0.129 132.4)
XYZxyz(10.7207, 16.1926, 4.0737)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C22 #4F227C
analogous
#7C7C22 #4F7C22 #227C22
triadic
#4F7C22 #224F7C #7C224F
tetradic
#4F7C22 #227C7C #4F227C #7C2222
square
#4F7C22 #227C7C #4F227C #7C2222
split-complementary
#4F7C22 #22227C #7C227C
monochromatic
#121C08 #304C15 #4F7C22 #6EAC2F #8CCE4B

Accessibility & contrast

On white

4.95
#4F7C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#4F7C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7C22
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7C22#FFFFFF#000000##FFFFFF
##4F7C221.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#50776A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c22;
/* rgb */ color: rgb(79, 124, 34);
/* oklch */ color: oklch(53.5% 0.129 132.4);
Tailwind
colors: {
  custom: {
    50: '#84a263',
    500: '#4f7c22',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c22;
$custom-light: #84a263;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c22",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53462,
    "c": 0.12905,
    "h": 132.4
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#4F7C22
secondary
#7D4BAF
accent
#48E094
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4F7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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