#4F701B#4F701B

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

Color values

HEX#4F701B
RGBrgb(79, 112, 27)
HSLhsl(83, 61%, 27%)
HSVhsv(83, 76%, 44%)
CMYKcmyk(29.5%, 0%, 75.9%, 56.1%)
CIE-LABlab(43.26, -25.70, 40.94)
CIE-LCHlch(43.26, 48.34, 122.12°)
OKLaboklab(50.21% -0.0734 0.0917)
OKLCHoklch(50.21% 0.117 128.7)
XYZxyz(9.2164, 13.3295, 3.1240)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F701B #3C1B70
analogous
#70671B #4F701B #25701B
triadic
#4F701B #1B4F70 #701B4F
tetradic
#4F701B #1B7067 #3C1B70 #701B25
square
#4F701B #1B7067 #3C1B70 #701B25
split-complementary
#4F701B #1B2570 #671B70
monochromatic
#111906 #2C3F0F #4F701B #72A127 #94CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F701B#FFFFFF#000000##FFFFFF
##4F701B1.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)
#76680B
Deuteranopia (green-blind)
#716523
Tritanopia (blue-blind)
#526B60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4f701b;
/* rgb */ color: rgb(79, 112, 27);
/* oklch */ color: oklch(50.2% 0.117 128.7);
Tailwind
colors: {
  custom: {
    50: '#83995e',
    500: '#4f701b',
    950: '#000000',
  },
}
SCSS
$custom: #4f701b;
$custom-light: #83995e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f701b",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 83.294,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50213,
    "c": 0.11742,
    "h": 128.7
  },
  "luminance": 0.1333
}

Semantic roles & 50–950 ramp

primary
#4F701B
secondary
#6842A5
accent
#44E482
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4F701B

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

Preview Lab → · Contrast checker → · Palette generator →

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