#4F7D2B#4F7D2B

#4F7D2B is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.123 H 133.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4F7D2B
RGBrgb(79, 125, 43)
HSLhsl(94, 49%, 33%)
HSVhsv(94, 66%, 49%)
CMYKcmyk(36.8%, 0%, 65.6%, 51%)
CIE-LABlab(47.63, -30.64, 38.61)
CIE-LCHlch(47.63, 49.29, 128.44°)
OKLaboklab(53.81% -0.0855 0.0891)
OKLCHoklch(53.81% 0.123 133.8)
XYZxyz(10.9939, 16.5034, 4.8913)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D2B #592B7D
analogous
#787D2B #4F7D2B #2B7D30
triadic
#4F7D2B #2B4F7D #7D2B4F
tetradic
#4F7D2B #2B787D #592B7D #7D302B
square
#4F7D2B #2B787D #592B7D #7D302B
split-complementary
#4F7D2B #302B7D #7D2B78
monochromatic
#15220C #324F1B #4F7D2B #6CAB3B #8BC75C

Accessibility & contrast

On white

4.88
#4F7D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4F7D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D2B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D2B#FFFFFF#000000##FFFFFF
##4F7D2B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827321
Deuteranopia (green-blind)
#7B7031
Tritanopia (blue-blind)
#4F786C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d2b;
/* rgb */ color: rgb(79, 125, 43);
/* oklch */ color: oklch(53.8% 0.123 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a368',
    500: '#4f7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d2b;
$custom-light: #84a368;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d2b",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 93.659,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.12348,
    "h": 133.8
  },
  "luminance": 0.16504
}

Semantic roles & 50–950 ramp

primary
#4F7D2B
secondary
#8757AD
accent
#4FD89C
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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