#4C671B#4C671B

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

Color values

HEX#4C671B
RGBrgb(76, 103, 27)
HSLhsl(81, 58%, 25%)
HSVhsv(81, 74%, 40%)
CMYKcmyk(26.2%, 0%, 73.8%, 59.6%)
CIE-LABlab(40.11, -22.46, 37.72)
CIE-LCHlch(40.11, 43.90, 120.77°)
OKLaboklab(47.61% -0.0643 0.085)
OKLCHoklch(47.61% 0.107 127.1)
XYZxyz(8.0286, 11.3160, 2.7979)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C671B #361B67
analogous
#675C1B #4C671B #26671B
triadic
#4C671B #1B4C67 #671B4C
tetradic
#4C671B #1B675C #361B67 #671B26
square
#4C671B #1B675C #361B67 #671B26
split-complementary
#4C671B #1B2667 #5C1B67
monochromatic
#121806 #28370E #4C671B #709728 #94C834

Accessibility & contrast

On white

6.44
#4C671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4C671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C671B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C671B#FFFFFF#000000##FFFFFF
##4C671B1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D600F
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#4F6258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c671b;
/* rgb */ color: rgb(76, 103, 27);
/* oklch */ color: oklch(47.6% 0.107 127.1);
Tailwind
colors: {
  custom: {
    50: '#81925d',
    500: '#4c671b',
    950: '#000000',
  },
}
SCSS
$custom: #4c671b;
$custom-light: #81925d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c671b",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 81.316,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47606,
    "c": 0.10659,
    "h": 127.1
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#4C671B
secondary
#62429C
accent
#46E27D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4C671B

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

Preview Lab → · Contrast checker → · Palette generator →

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