#4F671B#4F671B

#4F671B is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.105 H 125.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4F671B
RGBrgb(79, 103, 27)
HSLhsl(79, 58%, 25%)
HSVhsv(79, 74%, 40%)
CMYKcmyk(23.3%, 0%, 73.8%, 59.6%)
CIE-LABlab(40.31, -21.15, 38.00)
CIE-LCHlch(40.31, 43.49, 119.10°)
OKLaboklab(47.83% -0.0609 0.0855)
OKLCHoklch(47.83% 0.105 125.5)
XYZxyz(8.2726, 11.4418, 2.8093)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F671B #331B67
analogous
#67591B #4F671B #29671B
triadic
#4F671B #1B4F67 #671B4F
tetradic
#4F671B #1B6759 #331B67 #671B29
square
#4F671B #1B6759 #331B67 #671B29
split-complementary
#4F671B #1B2967 #591B67
monochromatic
#131806 #2A370E #4F671B #749728 #99C834

Accessibility & contrast

On white

6.39
#4F671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F671B
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F671B#FFFFFF#000000##FFFFFF
##4F671B1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600F
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#536258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f671b;
/* rgb */ color: rgb(79, 103, 27);
/* oklch */ color: oklch(47.8% 0.105 125.5);
Tailwind
colors: {
  custom: {
    50: '#83925d',
    500: '#4f671b',
    950: '#000000',
  },
}
SCSS
$custom: #4f671b;
$custom-light: #83925d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f671b",
  "rgb": {
    "r": 79,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 78.947,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.10499,
    "h": 125.5
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#4F671B
secondary
#5E429C
accent
#46E277
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F671B

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

Preview Lab → · Contrast checker → · Palette generator →

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