#4F5C0F#4F5C0F

#4F5C0F is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.8% C 0.098 H 119.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#4F5C0F
RGBrgb(79, 92, 15)
HSLhsl(70, 72%, 21%)
HSVhsv(70, 84%, 36%)
CMYKcmyk(14.1%, 0%, 83.7%, 63.9%)
CIE-LABlab(36.65, -16.00, 39.08)
CIE-LCHlch(36.65, 42.23, 112.26°)
OKLaboklab(44.84% -0.0479 0.0856)
OKLCHoklch(44.84% 0.098 119.2)
XYZxyz(7.1380, 9.3511, 1.8808)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5C0F #1C0F5C
analogous
#5C420F #4F5C0F #285C0F
triadic
#4F5C0F #0F4F5C #5C0F4F
tetradic
#4F5C0F #0F5C42 #1C0F5C #5C0F28
square
#4F5C0F #0F5C42 #1C0F5C #5C0F28
split-complementary
#4F5C0F #0F285C #420F5C
monochromatic
#171A04 #222706 #4F5C0F #7C9118 #A9C520

Accessibility & contrast

On white

7.32
#4F5C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5C0F
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5C0F#FFFFFF#000000##FFFFFF
##4F5C0F1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5c0f;
/* rgb */ color: rgb(79, 92, 15);
/* oklch */ color: oklch(44.8% 0.098 119.2);
Tailwind
colors: {
  custom: {
    50: '#838a55',
    500: '#4f5c0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f5c0f;
$custom-light: #838a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5c0f",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 15
  },
  "hsl": {
    "h": 70.13,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44844,
    "c": 0.09808,
    "h": 119.2
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#4F5C0F
secondary
#423195
accent
#39EF58
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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