#4F7C2C#4F7C2C

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

Color values

HEX#4F7C2C
RGBrgb(79, 124, 44)
HSLhsl(94, 48%, 33%)
HSVhsv(94, 65%, 49%)
CMYKcmyk(36.3%, 0%, 64.5%, 51.4%)
CIE-LABlab(47.31, -30.08, 37.79)
CIE-LCHlch(47.31, 48.30, 128.51°)
OKLaboklab(53.56% -0.0838 0.0875)
OKLCHoklch(53.56% 0.121 133.8)
XYZxyz(10.8865, 16.2590, 4.9471)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7C2C #592C7C
analogous
#777C2C #4F7C2C #2C7C31
triadic
#4F7C2C #2C4F7C #7C2C4F
tetradic
#4F7C2C #2C777C #592C7C #7C312C
square
#4F7C2C #2C777C #592C7C #7C312C
split-complementary
#4F7C2C #312C7C #7C2C77
monochromatic
#15220C #324F1C #4F7C2C #6CA93C #8BC55D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7C2C#FFFFFF#000000##FFFFFF
##4F7C2C1.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)
#817323
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#4F776B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f7c2c;
/* rgb */ color: rgb(79, 124, 44);
/* oklch */ color: oklch(53.6% 0.121 133.8);
Tailwind
colors: {
  custom: {
    50: '#84a269',
    500: '#4f7c2c',
    950: '#000000',
  },
}
SCSS
$custom: #4f7c2c;
$custom-light: #84a269;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7c2c",
  "rgb": {
    "r": 79,
    "g": 124,
    "b": 44
  },
  "hsl": {
    "h": 93.75,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5356,
    "c": 0.1212,
    "h": 133.8
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#4F7C2C
secondary
#8758AC
accent
#51D79C
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4F7C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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