#4C671A#4C671A

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

Color values

HEX#4C671A
RGBrgb(76, 103, 26)
HSLhsl(81, 60%, 25%)
HSVhsv(81, 75%, 40%)
CMYKcmyk(26.2%, 0%, 74.8%, 59.6%)
CIE-LABlab(40.10, -22.53, 38.13)
CIE-LCHlch(40.10, 44.29, 120.58°)
OKLaboklab(47.6% -0.0646 0.0857)
OKLCHoklch(47.6% 0.107 127)
XYZxyz(8.0172, 11.3114, 2.7380)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C671A #351A67
analogous
#675B1A #4C671A #25671A
triadic
#4C671A #1A4C67 #671A4C
tetradic
#4C671A #1A675B #351A67 #671A25
square
#4C671A #1A675B #351A67 #671A25
split-complementary
#4C671A #1A2567 #5B1A67
monochromatic
#121806 #28360E #4C671A #709826 #94C933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C671A#FFFFFF#000000##FFFFFF
##4C671A1.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)
#6D600D
Deuteranopia (green-blind)
#695E21
Tritanopia (blue-blind)
#4F6258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4c671a;
/* rgb */ color: rgb(76, 103, 26);
/* oklch */ color: oklch(47.6% 0.107 127.0);
Tailwind
colors: {
  custom: {
    50: '#81925c',
    500: '#4c671a',
    950: '#000000',
  },
}
SCSS
$custom: #4c671a;
$custom-light: #81925c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c671a",
  "rgb": {
    "r": 76,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 81.039,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47597,
    "c": 0.10732,
    "h": 127
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#4C671A
secondary
#61409D
accent
#45E37C
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4C671A

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

Preview Lab → · Contrast checker → · Palette generator →

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