#4F671C#4F671C

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

Color values

HEX#4F671C
RGBrgb(79, 103, 28)
HSLhsl(79, 57%, 26%)
HSVhsv(79, 73%, 40%)
CMYKcmyk(23.3%, 0%, 72.8%, 59.6%)
CIE-LABlab(40.32, -21.08, 37.58)
CIE-LCHlch(40.32, 43.09, 119.29°)
OKLaboklab(47.84% -0.0606 0.0848)
OKLCHoklch(47.84% 0.104 125.6)
XYZxyz(8.2843, 11.4465, 2.8713)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F671C #341C67
analogous
#67591C #4F671C #29671C
triadic
#4F671C #1C4F67 #671C4F
tetradic
#4F671C #1C6759 #341C67 #671C29
square
#4F671C #1C6759 #341C67 #671C29
split-complementary
#4F671C #1C2967 #591C67
monochromatic
#121807 #2A370F #4F671C #749729 #99C736

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F671C#FFFFFF#000000##FFFFFF
##4F671C1.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)
#6D6010
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#536258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f671c;
/* rgb */ color: rgb(79, 103, 28);
/* oklch */ color: oklch(47.8% 0.104 125.6);
Tailwind
colors: {
  custom: {
    50: '#83925d',
    500: '#4f671c',
    950: '#000000',
  },
}
SCSS
$custom: #4f671c;
$custom-light: #83925d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f671c",
  "rgb": {
    "r": 79,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 79.2,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47836,
    "c": 0.10424,
    "h": 125.6
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#4F671C
secondary
#5F439C
accent
#47E178
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F671C

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

Preview Lab → · Contrast checker → · Palette generator →

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