#4F760F#4F760F

#4F760F is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.7% C 0.132 H 129.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4F760F
RGBrgb(79, 118, 15)
HSLhsl(83, 77%, 26%)
HSVhsv(83, 87%, 46%)
CMYKcmyk(33.1%, 0%, 87.3%, 53.7%)
CIE-LABlab(45.16, -29.23, 46.66)
CIE-LCHlch(45.16, 55.06, 122.07°)
OKLaboklab(51.74% -0.0838 0.1017)
OKLCHoklch(51.74% 0.132 129.5)
XYZxyz(9.7891, 14.6533, 2.7645)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F760F #360F76
analogous
#76690F #4F760F #1C760F
triadic
#4F760F #0F4F76 #760F4F
tetradic
#4F760F #0F7669 #360F76 #760F1C
square
#4F760F #0F7669 #360F76 #760F1C
split-complementary
#4F760F #0F1C76 #690F76
monochromatic
#121B03 #2B4008 #4F760F #73AC16 #98E21D

Accessibility & contrast

On white

5.34
#4F760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4F760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F760F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F760F#FFFFFF#000000##FFFFFF
##4F760F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#527064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f760f;
/* rgb */ color: rgb(79, 118, 15);
/* oklch */ color: oklch(51.7% 0.132 129.5);
Tailwind
colors: {
  custom: {
    50: '#859d59',
    500: '#4f760f',
    950: '#000000',
  },
}
SCSS
$custom: #4f760f;
$custom-light: #859d59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f760f",
  "rgb": {
    "r": 79,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 82.718,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.51739,
    "c": 0.1318,
    "h": 129.5
  },
  "luminance": 0.14654
}

Semantic roles & 50–950 ramp

primary
#4F760F
secondary
#6233AD
accent
#34F47D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F760F

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

Preview Lab → · Contrast checker → · Palette generator →

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