#4F7D1C#4F7D1C

#4F7D1C is a mid, vivid yellow-green. Relative luminance 0.164; OKLCH L 53.7% C 0.134 H 132.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4F7D1C
RGBrgb(79, 125, 28)
HSLhsl(88, 63%, 30%)
HSVhsv(88, 78%, 49%)
CMYKcmyk(36.8%, 0%, 77.6%, 51%)
CIE-LABlab(47.51, -31.82, 44.73)
CIE-LCHlch(47.51, 54.89, 125.43°)
OKLaboklab(53.68% -0.0899 0.0998)
OKLCHoklch(53.68% 0.134 132)
XYZxyz(10.7675, 16.4129, 3.6991)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7D1C #4A1C7D
analogous
#7D7B1C #4F7D1C #1E7D1C
triadic
#4F7D1C #1C4F7D #7D1C4F
tetradic
#4F7D1C #1C7D7B #4A1C7D #7D1C1E
square
#4F7D1C #1C7D7B #4A1C7D #7D1C1E
split-complementary
#4F7D1C #1C1E7D #7B1C7D
monochromatic
#101906 #2F4B11 #4F7D1C #6FAF27 #8ED43F

Accessibility & contrast

On white

4.90
#4F7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4F7D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7D1C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7D1C#FFFFFF#000000##FFFFFF
##4F7D1C1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837307
Deuteranopia (green-blind)
#7C6F26
Tritanopia (blue-blind)
#50786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4f7d1c;
/* rgb */ color: rgb(79, 125, 28);
/* oklch */ color: oklch(53.7% 0.134 132.0);
Tailwind
colors: {
  custom: {
    50: '#85a360',
    500: '#4f7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #4f7d1c;
$custom-light: #85a360;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7d1c",
  "rgb": {
    "r": 79,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 88.454,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.53682,
    "c": 0.13433,
    "h": 132
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#4F7D1C
secondary
#7844B1
accent
#41E690
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4F7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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