#4F5F0E#4F5F0E

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

Color values

HEX#4F5F0E
RGBrgb(79, 95, 14)
HSLhsl(72, 74%, 21%)
HSVhsv(72, 85%, 37%)
CMYKcmyk(16.8%, 0%, 85.3%, 62.7%)
CIE-LABlab(37.62, -17.67, 40.28)
CIE-LCHlch(37.62, 43.99, 113.68°)
OKLaboklab(45.63% -0.0525 0.088)
OKLCHoklch(45.63% 0.102 120.9)
XYZxyz(7.3961, 9.8784, 1.9325)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5F0E #1E0E5F
analogous
#5F470E #4F5F0E #275F0E
triadic
#4F5F0E #0E4F5F #5F0E4F
tetradic
#4F5F0E #0E5F47 #1E0E5F #5F0E27
square
#4F5F0E #0E5F47 #1E0E5F #5F0E27
split-complementary
#4F5F0E #0E275F #470E5F
monochromatic
#161B04 #232A06 #4F5F0E #7B9416 #A8CA1E

Accessibility & contrast

On white

7.06
#4F5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5F0E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5F0E#FFFFFF#000000##FFFFFF
##4F5F0E1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#545950
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f5f0e;
/* rgb */ color: rgb(79, 95, 14);
/* oklch */ color: oklch(45.6% 0.102 120.9);
Tailwind
colors: {
  custom: {
    50: '#838c55',
    500: '#4f5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #4f5f0e;
$custom-light: #838c55;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5f0e",
  "rgb": {
    "r": 79,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 71.852,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45626,
    "c": 0.10247,
    "h": 120.9
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#4F5F0E
secondary
#453099
accent
#37F15C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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