#4F701C#4F701C

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

Color values

HEX#4F701C
RGBrgb(79, 112, 28)
HSLhsl(84, 60%, 27%)
HSVhsv(84, 75%, 44%)
CMYKcmyk(29.5%, 0%, 75%, 56.1%)
CIE-LABlab(43.26, -25.64, 40.55)
CIE-LCHlch(43.26, 47.97, 122.30°)
OKLaboklab(50.22% -0.0731 0.091)
OKLCHoklch(50.22% 0.117 128.8)
XYZxyz(9.2282, 13.3342, 3.1859)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F701C #3D1C70
analogous
#70671C #4F701C #25701C
triadic
#4F701C #1C4F70 #701C4F
tetradic
#4F701C #1C7067 #3D1C70 #701C25
square
#4F701C #1C7067 #3D1C70 #701C25
split-complementary
#4F701C #1C2570 #671C70
monochromatic
#111806 #2C3F10 #4F701C #72A128 #93CD39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F701C#FFFFFF#000000##FFFFFF
##4F701C1.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)
#76680D
Deuteranopia (green-blind)
#716524
Tritanopia (blue-blind)
#526B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f701c;
/* rgb */ color: rgb(79, 112, 28);
/* oklch */ color: oklch(50.2% 0.117 128.8);
Tailwind
colors: {
  custom: {
    50: '#83995e',
    500: '#4f701c',
    950: '#000000',
  },
}
SCSS
$custom: #4f701c;
$custom-light: #83995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f701c",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 83.571,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.11675,
    "h": 128.8
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#4F701C
secondary
#6943A5
accent
#45E383
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F701C

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

Preview Lab → · Contrast checker → · Palette generator →

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