#4A7117#4A7117

#4A7117 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.124 H 130.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4A7117
RGBrgb(74, 113, 23)
HSLhsl(86, 66%, 27%)
HSVhsv(86, 80%, 44%)
CMYKcmyk(34.5%, 0%, 79.6%, 55.7%)
CIE-LABlab(43.25, -28.49, 42.33)
CIE-LCHlch(43.25, 51.02, 123.94°)
OKLaboklab(50.12% -0.0809 0.094)
OKLCHoklch(50.12% 0.124 130.7)
XYZxyz(8.8838, 13.3277, 2.9149)
Luminance0.1333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7117 #3E1771
analogous
#716B17 #4A7117 #1D7117
triadic
#4A7117 #174A71 #71174A
tetradic
#4A7117 #17716B #3E1771 #71171D
square
#4A7117 #17716B #3E1771 #71171D
split-complementary
#4A7117 #171D71 #6B1771
monochromatic
#111905 #293E0D #4A7117 #6BA421 #8CD42E

Accessibility & contrast

On white

5.73
#4A7117 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4A7117 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7117
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7117#FFFFFF#000000##FFFFFF
##4A71171.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766803
Deuteranopia (green-blind)
#716520
Tritanopia (blue-blind)
#4C6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a7117;
/* rgb */ color: rgb(74, 113, 23);
/* oklch */ color: oklch(50.1% 0.124 130.7);
Tailwind
colors: {
  custom: {
    50: '#809a5c',
    500: '#4a7117',
    950: '#000000',
  },
}
SCSS
$custom: #4a7117;
$custom-light: #809a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7117",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 23
  },
  "hsl": {
    "h": 86,
    "s": 66.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50121,
    "c": 0.12408,
    "h": 130.7
  },
  "luminance": 0.13328
}

Semantic roles & 50–950 ramp

primary
#4A7117
secondary
#6B3DA7
accent
#3FE989
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7117

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

Preview Lab → · Contrast checker → · Palette generator →

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