#4A6727#4A6727

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

Color values

HEX#4A6727
RGBrgb(74, 103, 39)
HSLhsl(87, 45%, 28%)
HSVhsv(87, 62%, 40%)
CMYKcmyk(28.2%, 0%, 62.1%, 59.6%)
CIE-LABlab(40.09, -22.26, 32.05)
CIE-LCHlch(40.09, 39.02, 124.78°)
OKLaboklab(47.59% -0.0625 0.0748)
OKLCHoklch(47.59% 0.097 129.9)
XYZxyz(8.0404, 11.3026, 3.6771)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6727 #442767
analogous
#676427 #4A6727 #2A6727
triadic
#4A6727 #274A67 #67274A
tetradic
#4A6727 #276764 #442767 #67272A
square
#4A6727 #276764 #442767 #67272A
split-complementary
#4A6727 #272A67 #642767
monochromatic
#101608 #2A3B16 #4A6727 #6A9338 #89BC4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A6727#FFFFFF#000000##FFFFFF
##4A67271.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)
#6C6020
Deuteranopia (green-blind)
#685E2C
Tritanopia (blue-blind)
#4C6359
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a6727;
/* rgb */ color: rgb(74, 103, 39);
/* oklch */ color: oklch(47.6% 0.097 129.9);
Tailwind
colors: {
  custom: {
    50: '#7f9264',
    500: '#4a6727',
    950: '#000000',
  },
}
SCSS
$custom: #4a6727;
$custom-light: #7f9264;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6727",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 39
  },
  "hsl": {
    "h": 87.188,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47589,
    "c": 0.09742,
    "h": 129.9
  },
  "luminance": 0.11303
}

Semantic roles & 50–950 ramp

primary
#4A6727
secondary
#71509A
accent
#53D58E
background
#F7F9F6
surface
#EEF1EB
border
#C9CBC6
text
#0A0D05
muted
#7C7E7A

Preview Lab

Preview with #4A6727

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

Preview Lab → · Contrast checker → · Palette generator →

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