#4F701A#4F701A

#4F701A is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.118 H 128.6°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F701A
RGBrgb(79, 112, 26)
HSLhsl(83, 62%, 27%)
HSVhsv(83, 77%, 44%)
CMYKcmyk(29.5%, 0%, 76.8%, 56.1%)
CIE-LABlab(43.25, -25.77, 41.32)
CIE-LCHlch(43.25, 48.70, 121.95°)
OKLaboklab(50.21% -0.0736 0.0923)
OKLCHoklch(50.21% 0.118 128.6)
XYZxyz(9.2051, 13.3250, 3.0641)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F701A #3B1A70
analogous
#70661A #4F701A #24701A
triadic
#4F701A #1A4F70 #701A4F
tetradic
#4F701A #1A7066 #3B1A70 #701A24
square
#4F701A #1A7066 #3B1A70 #701A24
split-complementary
#4F701A #1A2470 #661A70
monochromatic
#121906 #2C3E0E #4F701A #72A226 #94D034

Accessibility & contrast

On white

5.73
#4F701A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4F701A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F701A
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F701A#FFFFFF#000000##FFFFFF
##4F701A1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766809
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#526B5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f701a;
/* rgb */ color: rgb(79, 112, 26);
/* oklch */ color: oklch(50.2% 0.118 128.6);
Tailwind
colors: {
  custom: {
    50: '#84995d',
    500: '#4f701a',
    950: '#000000',
  },
}
SCSS
$custom: #4f701a;
$custom-light: #84995d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f701a",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 26
  },
  "hsl": {
    "h": 83.023,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.11809,
    "h": 128.6
  },
  "luminance": 0.13325
}

Semantic roles & 50–950 ramp

primary
#4F701A
secondary
#6741A5
accent
#42E581
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F701A

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

Preview Lab → · Contrast checker → · Palette generator →

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