#4F5D0F#4F5D0F

#4F5D0F is a mid, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.1% C 0.099 H 119.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#4F5D0F
RGBrgb(79, 93, 15)
HSLhsl(71, 72%, 21%)
HSVhsv(71, 84%, 36%)
CMYKcmyk(15.1%, 0%, 83.9%, 63.5%)
CIE-LABlab(36.98, -16.54, 39.38)
CIE-LCHlch(36.98, 42.71, 112.79°)
OKLaboklab(45.11% -0.0494 0.0862)
OKLCHoklch(45.11% 0.099 119.8)
XYZxyz(7.2252, 9.5255, 1.9098)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5D0F #1D0F5D
analogous
#5D440F #4F5D0F #285D0F
triadic
#4F5D0F #0F4F5D #5D0F4F
tetradic
#4F5D0F #0F5D44 #1D0F5D #5D0F28
square
#4F5D0F #0F5D44 #1D0F5D #5D0F28
split-complementary
#4F5D0F #0F285D #440F5D
monochromatic
#161A04 #222806 #4F5D0F #7C9217 #A9C620

Accessibility & contrast

On white

7.23
#4F5D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4F5D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5D0F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5D0F#FFFFFF#000000##FFFFFF
##4F5D0F1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#625717
Tritanopia (blue-blind)
#54584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f5d0f;
/* rgb */ color: rgb(79, 93, 15);
/* oklch */ color: oklch(45.1% 0.099 119.8);
Tailwind
colors: {
  custom: {
    50: '#838a55',
    500: '#4f5d0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f5d0f;
$custom-light: #838a55;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5d0f",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 15
  },
  "hsl": {
    "h": 70.769,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.45106,
    "c": 0.09936,
    "h": 119.8
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#4F5D0F
secondary
#443196
accent
#39EF5A
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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