#4F6C14#4F6C14

#4F6C14 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.116 H 126.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4F6C14
RGBrgb(79, 108, 20)
HSLhsl(80, 69%, 25%)
HSVhsv(80, 81%, 42%)
CMYKcmyk(26.9%, 0%, 81.5%, 57.6%)
CIE-LABlab(41.90, -24.13, 42.22)
CIE-LCHlch(41.90, 48.63, 119.75°)
OKLaboklab(49.1% -0.0697 0.0932)
OKLCHoklch(49.1% 0.116 126.8)
XYZxyz(8.7133, 12.4377, 2.6033)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6C14 #31146C
analogous
#6C5D14 #4F6C14 #236C14
triadic
#4F6C14 #144F6C #6C144F
tetradic
#4F6C14 #146C5D #31146C #6C1423
square
#4F6C14 #146C5D #31146C #6C1423
split-complementary
#4F6C14 #14236C #5D146C
monochromatic
#131A05 #29380A #4F6C14 #75A01E #9BD327

Accessibility & contrast

On white

6.02
#4F6C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4F6C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6C14
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6C14#FFFFFF#000000##FFFFFF
##4F6C141.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#52675C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f6c14;
/* rgb */ color: rgb(79, 108, 20);
/* oklch */ color: oklch(49.1% 0.116 126.8);
Tailwind
colors: {
  custom: {
    50: '#84965a',
    500: '#4f6c14',
    950: '#000000',
  },
}
SCSS
$custom: #4f6c14;
$custom-light: #84965a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6c14",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 20
  },
  "hsl": {
    "h": 79.773,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.11633,
    "h": 126.8
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#4F6C14
secondary
#5C39A3
accent
#3CEC76
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6C14

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

Preview Lab → · Contrast checker → · Palette generator →

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