#4F702E#4F702E

#4F702E is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.4% C 0.102 H 131.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4F702E
RGBrgb(79, 112, 46)
HSLhsl(90, 42%, 31%)
HSVhsv(90, 59%, 44%)
CMYKcmyk(29.5%, 0%, 58.9%, 56.1%)
CIE-LABlab(43.43, -24.03, 32.41)
CIE-LCHlch(43.43, 40.35, 126.55°)
OKLaboklab(50.41% -0.067 0.0762)
OKLCHoklch(50.41% 0.102 131.3)
XYZxyz(9.5116, 13.4476, 4.6787)
Luminance0.1345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F702E #4F2E70
analogous
#70702E #4F702E #2E702E
triadic
#4F702E #2E4F70 #702E4F
tetradic
#4F702E #2E7070 #4F2E70 #702E2E
square
#4F702E #2E7070 #4F2E70 #702E2E
split-complementary
#4F702E #2E2E70 #702E70
monochromatic
#12190A #30451C #4F702E #6E9B40 #8CBC5C

Accessibility & contrast

On white

5.69
#4F702E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4F702E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F702E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F702E#FFFFFF#000000##FFFFFF
##4F702E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756827
Deuteranopia (green-blind)
#706633
Tritanopia (blue-blind)
#506C61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4f702e;
/* rgb */ color: rgb(79, 112, 46);
/* oklch */ color: oklch(50.4% 0.102 131.3);
Tailwind
colors: {
  custom: {
    50: '#829969',
    500: '#4f702e',
    950: '#000000',
  },
}
SCSS
$custom: #4f702e;
$custom-light: #829969;
$custom-dark: #000000;
JSON
{
  "hex": "#4f702e",
  "rgb": {
    "r": 79,
    "g": 112,
    "b": 46
  },
  "hsl": {
    "h": 90,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.10151,
    "h": 131.3
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#4F702E
secondary
#7D58A1
accent
#56D294
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #4F702E

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

Preview Lab → · Contrast checker → · Palette generator →

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