#4F5C12#4F5C12

#4F5C12 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.9% C 0.096 H 119.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#4F5C12
RGBrgb(79, 92, 18)
HSLhsl(71, 67%, 22%)
HSVhsv(71, 80%, 36%)
CMYKcmyk(14.1%, 0%, 80.4%, 63.9%)
CIE-LABlab(36.67, -15.84, 38.02)
CIE-LCHlch(36.67, 41.19, 112.62°)
OKLaboklab(44.86% -0.0472 0.0839)
OKLCHoklch(44.86% 0.096 119.3)
XYZxyz(7.1609, 9.3603, 2.0016)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5C12 #1F125C
analogous
#5C4412 #4F5C12 #2A5C12
triadic
#4F5C12 #124F5C #5C124F
tetradic
#4F5C12 #125C44 #1F125C #5C122A
square
#4F5C12 #125C44 #1F125C #5C122A
split-complementary
#4F5C12 #122A5C #44125C
monochromatic
#161A05 #232908 #4F5C12 #7B8F1C #A7C226

Accessibility & contrast

On white

7.31
#4F5C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4F5C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5C12
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5C12#FFFFFF#000000##FFFFFF
##4F5C121.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#54574E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f5c12;
/* rgb */ color: rgb(79, 92, 18);
/* oklch */ color: oklch(44.9% 0.096 119.3);
Tailwind
colors: {
  custom: {
    50: '#838a56',
    500: '#4f5c12',
    950: '#000000',
  },
}
SCSS
$custom: #4f5c12;
$custom-light: #838a56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5c12",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 18
  },
  "hsl": {
    "h": 70.541,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44863,
    "c": 0.0963,
    "h": 119.3
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#4F5C12
secondary
#463594
accent
#3EEA5C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5C12

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

Preview Lab → · Contrast checker → · Palette generator →

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