#4C681F#4C681F

#4C681F is a mid, moderate yellow-green. Relative luminance 0.115; OKLCH L 47.9% C 0.105 H 127.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4C681F
RGBrgb(76, 104, 31)
HSLhsl(83, 54%, 26%)
HSVhsv(83, 70%, 41%)
CMYKcmyk(26.9%, 0%, 70.2%, 59.2%)
CIE-LABlab(40.47, -22.66, 36.34)
CIE-LCHlch(40.47, 42.83, 121.95°)
OKLaboklab(47.91% -0.0645 0.0827)
OKLCHoklch(47.91% 0.105 127.9)
XYZxyz(8.1781, 11.5359, 3.0918)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C681F #3B1F68
analogous
#68601F #4C681F #28681F
triadic
#4C681F #1F4C68 #681F4C
tetradic
#4C681F #1F6860 #3B1F68 #681F28
square
#4C681F #1F6860 #3B1F68 #681F28
split-complementary
#4C681F #1F2868 #601F68
monochromatic
#111807 #2A3911 #4C681F #6E972D #91C53C

Accessibility & contrast

On white

6.35
#4C681F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4C681F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C681F
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C681F#FFFFFF#000000##FFFFFF
##4C681F1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6115
Deuteranopia (green-blind)
#695F25
Tritanopia (blue-blind)
#4F6359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c681f;
/* rgb */ color: rgb(76, 104, 31);
/* oklch */ color: oklch(47.9% 0.105 127.9);
Tailwind
colors: {
  custom: {
    50: '#81935f',
    500: '#4c681f',
    950: '#000000',
  },
}
SCSS
$custom: #4c681f;
$custom-light: #81935f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c681f",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 31
  },
  "hsl": {
    "h": 83.014,
    "s": 54.074,
    "l": 26.471
  },
  "oklch": {
    "l": 0.47909,
    "c": 0.1049,
    "h": 127.9
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#4C681F
secondary
#67469C
accent
#4ADD83
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D05
muted
#7C7E79

Preview Lab

Preview with #4C681F

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

Preview Lab → · Contrast checker → · Palette generator →

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