#4F5E0F#4F5E0F

#4F5E0F is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.4% C 0.101 H 120.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4F5E0F
RGBrgb(79, 94, 15)
HSLhsl(71, 72%, 21%)
HSVhsv(71, 84%, 37%)
CMYKcmyk(16%, 0%, 84%, 63.1%)
CIE-LABlab(37.30, -17.09, 39.67)
CIE-LCHlch(37.30, 43.19, 113.30°)
OKLaboklab(45.37% -0.0509 0.0869)
OKLCHoklch(45.37% 0.101 120.4)
XYZxyz(7.3135, 9.7022, 1.9393)
Luminance0.0970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5E0F #1E0F5E
analogous
#5E460F #4F5E0F #285E0F
triadic
#4F5E0F #0F4F5E #5E0F4F
tetradic
#4F5E0F #0F5E46 #1E0F5E #5E0F28
square
#4F5E0F #0F5E46 #1E0F5E #5E0F28
split-complementary
#4F5E0F #0F285E #460F5E
monochromatic
#161A04 #232907 #4F5E0F #7B9317 #A8C820

Accessibility & contrast

On white

7.14
#4F5E0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4F5E0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5E0F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5E0F#FFFFFF#000000##FFFFFF
##4F5E0F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645800
Deuteranopia (green-blind)
#635817
Tritanopia (blue-blind)
#545950
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f5e0f;
/* rgb */ color: rgb(79, 94, 15);
/* oklch */ color: oklch(45.4% 0.101 120.4);
Tailwind
colors: {
  custom: {
    50: '#838b55',
    500: '#4f5e0f',
    950: '#000000',
  },
}
SCSS
$custom: #4f5e0f;
$custom-light: #838b55;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5e0f",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 15
  },
  "hsl": {
    "h": 71.392,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45369,
    "c": 0.10065,
    "h": 120.4
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#4F5E0F
secondary
#453197
accent
#39EF5B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F5E0F

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

Preview Lab → · Contrast checker → · Palette generator →

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