#4C681B#4C681B

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

Color values

HEX#4C681B
RGBrgb(76, 104, 27)
HSLhsl(82, 59%, 26%)
HSVhsv(82, 74%, 41%)
CMYKcmyk(26.9%, 0%, 74%, 59.2%)
CIE-LABlab(40.44, -22.97, 38.05)
CIE-LCHlch(40.44, 44.45, 121.12°)
OKLaboklab(47.87% -0.0657 0.0857)
OKLCHoklch(47.87% 0.108 127.5)
XYZxyz(8.1286, 11.5161, 2.8313)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C681B #371B68
analogous
#685D1B #4C681B #25681B
triadic
#4C681B #1B4C68 #681B4C
tetradic
#4C681B #1B685D #371B68 #681B25
square
#4C681B #1B685D #371B68 #681B25
split-complementary
#4C681B #1B2568 #5D1B68
monochromatic
#121806 #28370E #4C681B #709928 #93C934

Accessibility & contrast

On white

6.36
#4C681B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4C681B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C681B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C681B#FFFFFF#000000##FFFFFF
##4C681B1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E600F
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#4F6359
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4c681b;
/* rgb */ color: rgb(76, 104, 27);
/* oklch */ color: oklch(47.9% 0.108 127.5);
Tailwind
colors: {
  custom: {
    50: '#81935d',
    500: '#4c681b',
    950: '#000000',
  },
}
SCSS
$custom: #4c681b;
$custom-light: #81935d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c681b",
  "rgb": {
    "r": 76,
    "g": 104,
    "b": 27
  },
  "hsl": {
    "h": 81.818,
    "s": 58.779,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47872,
    "c": 0.10798,
    "h": 127.5
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#4C681B
secondary
#63429D
accent
#46E27F
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4C681B

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

Preview Lab → · Contrast checker → · Palette generator →

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