#4A6917#4A6917

#4A6917 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.113 H 128.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4A6917
RGBrgb(74, 105, 23)
HSLhsl(83, 64%, 25%)
HSVhsv(83, 78%, 41%)
CMYKcmyk(29.5%, 0%, 78.1%, 58.8%)
CIE-LABlab(40.61, -24.60, 39.78)
CIE-LCHlch(40.61, 46.77, 121.73°)
OKLaboklab(47.97% -0.0704 0.0887)
OKLCHoklch(47.97% 0.113 128.4)
XYZxyz(8.0303, 11.6207, 2.6304)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6917 #361769
analogous
#695F17 #4A6917 #216917
triadic
#4A6917 #174A69 #69174A
tetradic
#4A6917 #17695F #361769 #691721
square
#4A6917 #17695F #361769 #691721
split-complementary
#4A6917 #172169 #5F1769
monochromatic
#121905 #27370C #4A6917 #6D9B22 #91CD2D

Accessibility & contrast

On white

6.32
#4A6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4A6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6917
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6917#FFFFFF#000000##FFFFFF
##4A69171.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#6A5F1F
Tritanopia (blue-blind)
#4D6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a6917;
/* rgb */ color: rgb(74, 105, 23);
/* oklch */ color: oklch(48.0% 0.113 128.4);
Tailwind
colors: {
  custom: {
    50: '#80945b',
    500: '#4a6917',
    950: '#000000',
  },
}
SCSS
$custom: #4a6917;
$custom-light: #80945b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6917",
  "rgb": {
    "r": 74,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 82.683,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47967,
    "c": 0.11322,
    "h": 128.4
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#4A6917
secondary
#623D9F
accent
#41E780
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6917

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

Preview Lab → · Contrast checker → · Palette generator →

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