#4F701D#4F701D

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

Color values

HEX#4F701D
RGBrgb(79, 112, 29)
HSLhsl(84, 59%, 28%)
HSVhsv(84, 74%, 44%)
CMYKcmyk(29.5%, 0%, 74.1%, 56.1%)
CIE-LABlab(43.27, -25.57, 40.15)
CIE-LCHlch(43.27, 47.60, 122.49°)
OKLaboklab(50.23% -0.0728 0.0904)
OKLCHoklch(50.23% 0.116 128.9)
XYZxyz(9.2404, 13.3391, 3.2500)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F701D #3E1D70
analogous
#70671D #4F701D #26701D
triadic
#4F701D #1D4F70 #701D4F
tetradic
#4F701D #1D7067 #3E1D70 #701D26
square
#4F701D #1D7067 #3E1D70 #701D26
split-complementary
#4F701D #1D2670 #671D70
monochromatic
#111806 #2D3F10 #4F701D #71A12A #93CC3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #4f701d;
/* rgb */ color: rgb(79, 112, 29);
/* oklch */ color: oklch(50.2% 0.116 128.9);
Tailwind
colors: {
  custom: {
    50: '#83995f',
    500: '#4f701d',
    950: '#000000',
  },
}
SCSS
$custom: #4f701d;
$custom-light: #83995f;
$custom-dark: #000000;
JSON
{
  "hex": "#4f701d",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 29
  },
  "hsl": {
    "h": 83.855,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50229,
    "c": 0.11605,
    "h": 128.9
  },
  "luminance": 0.13339
}

Semantic roles & 50–950 ramp

primary
#4F701D
secondary
#6B44A4
accent
#46E284
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F701D

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

Preview Lab → · Contrast checker → · Palette generator →

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