#4F7C2B#4F7C2B

#4F7C2B is a mid, vivid yellow-green. Relative luminance 0.163; OKLCH L 53.5% C 0.122 H 133.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4F7C2B
RGBrgb(79, 124, 43)
HSLhsl(93, 49%, 33%)
HSVhsv(93, 65%, 49%)
CMYKcmyk(36.3%, 0%, 65.3%, 51.4%)
CIE-LABlab(47.30, -30.17, 38.25)
CIE-LCHlch(47.30, 48.72, 128.27°)
OKLaboklab(53.55% -0.0842 0.0884)
OKLCHoklch(53.55% 0.122 133.6)
XYZxyz(10.8680, 16.2515, 4.8493)
Luminance0.1625 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C2B #582B7C
analogous
#787C2B #4F7C2B #2B7C2F
triadic
#4F7C2B #2B4F7C #7C2B4F
tetradic
#4F7C2B #2B787C #582B7C #7C2F2B
square
#4F7C2B #2B787C #582B7C #7C2F2B
split-complementary
#4F7C2B #2F2B7C #7C2B78
monochromatic
#15210B #324F1B #4F7C2B #6CA93B #8BC65B

Accessibility & contrast

On white

4.94
#4F7C2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#4F7C2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7C2B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7C2B#FFFFFF#000000##FFFFFF
##4F7C2B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817221
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#4F776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c2b;
/* rgb */ color: rgb(79, 124, 43);
/* oklch */ color: oklch(53.5% 0.122 133.6);
Tailwind
colors: {
  custom: {
    50: '#84a268',
    500: '#4f7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c2b;
$custom-light: #84a268;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c2b",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 93.333,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.12205,
    "h": 133.6
  },
  "luminance": 0.16252
}

Semantic roles & 50–950 ramp

primary
#4F7C2B
secondary
#8657AC
accent
#50D89B
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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