#4C671F#4C671F

#4C671F is a mid, moderate yellow-green. Relative luminance 0.113; OKLCH L 47.6% C 0.103 H 127.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#4C671F
RGBrgb(76, 103, 31)
HSLhsl(83, 54%, 26%)
HSVhsv(83, 70%, 40%)
CMYKcmyk(26.2%, 0%, 69.9%, 59.6%)
CIE-LABlab(40.14, -22.15, 36.00)
CIE-LCHlch(40.14, 42.27, 121.61°)
OKLaboklab(47.64% -0.0631 0.082)
OKLCHoklch(47.64% 0.103 127.6)
XYZxyz(8.0781, 11.3358, 3.0585)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C671F #3A1F67
analogous
#675E1F #4C671F #28671F
triadic
#4C671F #1F4C67 #671F4C
tetradic
#4C671F #1F675E #3A1F67 #671F28
square
#4C671F #1F675E #3A1F67 #671F28
split-complementary
#4C671F #1F2867 #5E1F67
monochromatic
#111807 #293811 #4C671F #6F962D #91C43C

Accessibility & contrast

On white

6.43
#4C671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4C671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C671F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C671F#FFFFFF#000000##FFFFFF
##4C671F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6015
Deuteranopia (green-blind)
#695E25
Tritanopia (blue-blind)
#4F6258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c671f;
/* rgb */ color: rgb(76, 103, 31);
/* oklch */ color: oklch(47.6% 0.103 127.6);
Tailwind
colors: {
  custom: {
    50: '#80925f',
    500: '#4c671f',
    950: '#000000',
  },
}
SCSS
$custom: #4c671f;
$custom-light: #80925f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c671f",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 82.5,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.10347,
    "h": 127.6
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#4C671F
secondary
#66469B
accent
#4BDD82
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4C671F

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

Preview Lab → · Contrast checker → · Palette generator →

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