#4A6717#4A6717

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

Color values

HEX#4A6717
RGBrgb(74, 103, 23)
HSLhsl(82, 63%, 25%)
HSVhsv(82, 78%, 40%)
CMYKcmyk(28.2%, 0%, 77.7%, 59.6%)
CIE-LABlab(39.95, -23.59, 39.14)
CIE-LCHlch(39.95, 45.70, 121.08°)
OKLaboklab(47.43% -0.0676 0.0873)
OKLCHoklch(47.43% 0.11 127.8)
XYZxyz(7.8290, 11.2180, 2.5633)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6717 #341767
analogous
#675C17 #4A6717 #226717
triadic
#4A6717 #174A67 #67174A
tetradic
#4A6717 #17675C #341767 #671722
square
#4A6717 #17675C #341767 #671722
split-complementary
#4A6717 #172267 #5C1767
monochromatic
#121906 #26350C #4A6717 #6E9922 #92CB2D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A6717#FFFFFF#000000##FFFFFF
##4A67171.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)
#6C5F07
Deuteranopia (green-blind)
#695E1E
Tritanopia (blue-blind)
#4D6258
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a6717;
/* rgb */ color: rgb(74, 103, 23);
/* oklch */ color: oklch(47.4% 0.110 127.8);
Tailwind
colors: {
  custom: {
    50: '#80925a',
    500: '#4a6717',
    950: '#000000',
  },
}
SCSS
$custom: #4a6717;
$custom-light: #80925a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6717",
  "rgb": {
    "r": 74,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 81.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.4743,
    "c": 0.11048,
    "h": 127.8
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#4A6717
secondary
#603D9D
accent
#41E77D
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6717

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

Preview Lab → · Contrast checker → · Palette generator →

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