#4F5F10#4F5F10

#4F5F10 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.6% C 0.101 H 120.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4F5F10
RGBrgb(79, 95, 16)
HSLhsl(72, 71%, 22%)
HSVhsv(72, 83%, 37%)
CMYKcmyk(16.8%, 0%, 83.2%, 62.7%)
CIE-LABlab(37.63, -17.58, 39.64)
CIE-LCHlch(37.63, 43.36, 113.92°)
OKLaboklab(45.64% -0.0521 0.087)
OKLCHoklch(45.64% 0.101 120.9)
XYZxyz(7.4103, 9.8841, 2.0075)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5F10 #20105F
analogous
#5F4810 #4F5F10 #285F10
triadic
#4F5F10 #104F5F #5F104F
tetradic
#4F5F10 #105F48 #20105F #5F1028
square
#4F5F10 #105F48 #20105F #5F1028
split-complementary
#4F5F10 #10285F #48105F
monochromatic
#161A04 #232B07 #4F5F10 #7B9319 #A6C822

Accessibility & contrast

On white

7.05
#4F5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4F5F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5F10
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5F10#FFFFFF#000000##FFFFFF
##4F5F101.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#635918
Tritanopia (blue-blind)
#545A50
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f5f10;
/* rgb */ color: rgb(79, 95, 16);
/* oklch */ color: oklch(45.6% 0.101 120.9);
Tailwind
colors: {
  custom: {
    50: '#838c56',
    500: '#4f5f10',
    950: '#000000',
  },
}
SCSS
$custom: #4f5f10;
$custom-light: #838c56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5f10",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 72.152,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45637,
    "c": 0.1014,
    "h": 120.9
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#4F5F10
secondary
#473398
accent
#3AEE5E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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