#4F671D#4F671D

#4F671D is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.8% C 0.103 H 125.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4F671D
RGBrgb(79, 103, 29)
HSLhsl(79, 56%, 26%)
HSVhsv(79, 72%, 40%)
CMYKcmyk(23.3%, 0%, 71.8%, 59.6%)
CIE-LABlab(40.33, -21.01, 37.15)
CIE-LCHlch(40.33, 42.68, 119.49°)
OKLaboklab(47.85% -0.0603 0.0841)
OKLCHoklch(47.85% 0.103 125.7)
XYZxyz(8.2965, 11.4514, 2.9354)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F671D #351D67
analogous
#675A1D #4F671D #2A671D
triadic
#4F671D #1D4F67 #671D4F
tetradic
#4F671D #1D675A #351D67 #671D2A
square
#4F671D #1D675A #351D67 #671D2A
split-complementary
#4F671D #1D2A67 #5A1D67
monochromatic
#121807 #2A3710 #4F671D #74972A #98C738

Accessibility & contrast

On white

6.38
#4F671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4F671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F671D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F671D#FFFFFF#000000##FFFFFF
##4F671D1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6012
Deuteranopia (green-blind)
#695F23
Tritanopia (blue-blind)
#536258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f671d;
/* rgb */ color: rgb(79, 103, 29);
/* oklch */ color: oklch(47.8% 0.103 125.7);
Tailwind
colors: {
  custom: {
    50: '#83925e',
    500: '#4f671d',
    950: '#000000',
  },
}
SCSS
$custom: #4f671d;
$custom-light: #83925e;
$custom-dark: #000000;
JSON
{
  "hex": "#4f671d",
  "rgb": {
    "r": 79,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 79.459,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47845,
    "c": 0.10347,
    "h": 125.7
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#4F671D
secondary
#60449C
accent
#48DF79
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F671D

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

Preview Lab → · Contrast checker → · Palette generator →

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