#4A6A17#4A6A17

#4A6A17 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.2% C 0.115 H 128.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4A6A17
RGBrgb(74, 106, 23)
HSLhsl(83, 64%, 25%)
HSVhsv(83, 78%, 42%)
CMYKcmyk(30.2%, 0%, 78.3%, 58.4%)
CIE-LABlab(40.94, -25.09, 40.10)
CIE-LCHlch(40.94, 47.31, 122.03°)
OKLaboklab(48.24% -0.0717 0.0894)
OKLCHoklch(48.24% 0.115 128.8)
XYZxyz(8.1327, 11.8256, 2.6645)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6A17 #37176A
analogous
#6A6117 #4A6A17 #206A17
triadic
#4A6A17 #174A6A #6A174A
tetradic
#4A6A17 #176A61 #37176A #6A1720
square
#4A6A17 #176A61 #37176A #6A1720
split-complementary
#4A6A17 #17206A #61176A
monochromatic
#121905 #27380C #4A6A17 #6D9C22 #90CF2D

Accessibility & contrast

On white

6.24
#4A6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4A6A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6A17
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6A17#FFFFFF#000000##FFFFFF
##4A6A171.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6206
Deuteranopia (green-blind)
#6B601F
Tritanopia (blue-blind)
#4D655A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a6a17;
/* rgb */ color: rgb(74, 106, 23);
/* oklch */ color: oklch(48.2% 0.115 128.8);
Tailwind
colors: {
  custom: {
    50: '#80955b',
    500: '#4a6a17',
    950: '#000000',
  },
}
SCSS
$custom: #4a6a17;
$custom-light: #80955b;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6a17",
  "rgb": {
    "r": 74,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 83.133,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48236,
    "c": 0.11459,
    "h": 128.8
  },
  "luminance": 0.11826
}

Semantic roles & 50–950 ramp

primary
#4A6A17
secondary
#633DA0
accent
#40E781
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6A17

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

Preview Lab → · Contrast checker → · Palette generator →

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