#4A6718#4A6718

#4A6718 is a mid, moderate yellow-green. Relative luminance 0.112; OKLCH L 47.4% C 0.110 H 127.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#4A6718
RGBrgb(74, 103, 24)
HSLhsl(82, 62%, 25%)
HSVhsv(82, 77%, 40%)
CMYKcmyk(28.2%, 0%, 76.7%, 59.6%)
CIE-LABlab(39.95, -23.53, 38.75)
CIE-LCHlch(39.95, 45.33, 121.26°)
OKLaboklab(47.44% -0.0674 0.0867)
OKLCHoklch(47.44% 0.11 127.9)
XYZxyz(7.8392, 11.2221, 2.6170)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6718 #351867
analogous
#675C18 #4A6718 #236718
triadic
#4A6718 #184A67 #67184A
tetradic
#4A6718 #18675C #351867 #671823
square
#4A6718 #18675C #351867 #671823
split-complementary
#4A6718 #182367 #5C1867
monochromatic
#121906 #26350C #4A6718 #6E9924 #91CA2F

Accessibility & contrast

On white

6.47
#4A6718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#4A6718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6718
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6718#FFFFFF#000000##FFFFFF
##4A67181.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F09
Deuteranopia (green-blind)
#685E1F
Tritanopia (blue-blind)
#4D6258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a6718;
/* rgb */ color: rgb(74, 103, 24);
/* oklch */ color: oklch(47.4% 0.110 127.9);
Tailwind
colors: {
  custom: {
    50: '#7f925b',
    500: '#4a6718',
    950: '#000000',
  },
}
SCSS
$custom: #4a6718;
$custom-light: #7f925b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6718",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 82.025,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.47438,
    "c": 0.1098,
    "h": 127.9
  },
  "luminance": 0.11222
}

Semantic roles & 50–950 ramp

primary
#4A6718
secondary
#613E9D
accent
#43E57E
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6718

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

Preview Lab → · Contrast checker → · Palette generator →

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