#4A6111#4A6111

#4A6111 is a mid, moderate yellow-green. Relative luminance 0.100; OKLCH L 45.8% C 0.106 H 125.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4A6111
RGBrgb(74, 97, 17)
HSLhsl(77, 70%, 22%)
HSVhsv(77, 82%, 38%)
CMYKcmyk(23.7%, 0%, 82.5%, 62%)
CIE-LABlab(37.92, -20.87, 39.42)
CIE-LCHlch(37.92, 44.61, 117.90°)
OKLaboklab(45.78% -0.0607 0.0869)
OKLCHoklch(45.78% 0.106 125)
XYZxyz(7.2000, 10.0456, 2.0899)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6111 #281161
analogous
#615011 #4A6111 #226111
triadic
#4A6111 #114A61 #61114A
tetradic
#4A6111 #116150 #281161 #611122
square
#4A6111 #116150 #281161 #611122
split-complementary
#4A6111 #112261 #501161
monochromatic
#141A05 #222D08 #4A6111 #72951A #99C923

Accessibility & contrast

On white

6.98
#4A6111 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4A6111 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6111
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6111#FFFFFF#000000##FFFFFF
##4A61111.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#4E5C52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a6111;
/* rgb */ color: rgb(74, 97, 17);
/* oklch */ color: oklch(45.8% 0.106 125.0);
Tailwind
colors: {
  custom: {
    50: '#7f8e57',
    500: '#4a6111',
    950: '#000000',
  },
}
SCSS
$custom: #4a6111;
$custom-light: #7f8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6111",
  "rgb": {
    "r": 74,
    "g": 97,
    "b": 17
  },
  "hsl": {
    "h": 77.25,
    "s": 70.175,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45779,
    "c": 0.106,
    "h": 125
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#4A6111
secondary
#513499
accent
#3BED6E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A6111

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

Preview Lab → · Contrast checker → · Palette generator →

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