#4A6112#4A6112

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

Color values

HEX#4A6112
RGBrgb(74, 97, 18)
HSLhsl(77, 69%, 23%)
HSVhsv(77, 81%, 38%)
CMYKcmyk(23.7%, 0%, 81.4%, 62%)
CIE-LABlab(37.93, -20.82, 39.08)
CIE-LCHlch(37.93, 44.28, 118.05°)
OKLaboklab(45.79% -0.0605 0.0863)
OKLCHoklch(45.79% 0.105 125)
XYZxyz(7.2080, 10.0488, 2.1320)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6112 #291261
analogous
#615012 #4A6112 #236112
triadic
#4A6112 #124A61 #61124A
tetradic
#4A6112 #126150 #291261 #611223
square
#4A6112 #126150 #291261 #611223
split-complementary
#4A6112 #122361 #501261
monochromatic
#141A05 #232D08 #4A6112 #71951C #99C825

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A6112#FFFFFF#000000##FFFFFF
##4A61121.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)
#675A01
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#4E5C52
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a6112;
/* rgb */ color: rgb(74, 97, 18);
/* oklch */ color: oklch(45.8% 0.105 125.0);
Tailwind
colors: {
  custom: {
    50: '#7f8e57',
    500: '#4a6112',
    950: '#000000',
  },
}
SCSS
$custom: #4a6112;
$custom-light: #7f8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6112",
  "rgb": {
    "r": 74,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 77.468,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.45785,
    "c": 0.10542,
    "h": 125
  },
  "luminance": 0.10049
}

Semantic roles & 50–950 ramp

primary
#4A6112
secondary
#533699
accent
#3CEC6F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A6112

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

Preview Lab → · Contrast checker → · Palette generator →

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