#4A6912#4A6912

#4A6912 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 47.9% C 0.116 H 128.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4A6912
RGBrgb(74, 105, 18)
HSLhsl(81, 71%, 24%)
HSVhsv(81, 83%, 41%)
CMYKcmyk(29.5%, 0%, 82.9%, 58.8%)
CIE-LABlab(40.58, -24.88, 41.54)
CIE-LCHlch(40.58, 48.42, 120.92°)
OKLaboklab(47.93% -0.0716 0.0915)
OKLCHoklch(47.93% 0.116 128)
XYZxyz(7.9848, 11.6025, 2.3910)
Luminance0.1160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6912 #311269
analogous
#695D12 #4A6912 #1F6912
triadic
#4A6912 #124A69 #69124A
tetradic
#4A6912 #12695D #311269 #69121F
square
#4A6912 #12695D #311269 #69121F
split-complementary
#4A6912 #121F69 #5D1269
monochromatic
#121A04 #253509 #4A6912 #6F9D1B #94D124

Accessibility & contrast

On white

6.32
#4A6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4A6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6912
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6912#FFFFFF#000000##FFFFFF
##4A69121.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6A5F1B
Tritanopia (blue-blind)
#4D6459
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a6912;
/* rgb */ color: rgb(74, 105, 18);
/* oklch */ color: oklch(47.9% 0.116 128.0);
Tailwind
colors: {
  custom: {
    50: '#809458',
    500: '#4a6912',
    950: '#000000',
  },
}
SCSS
$custom: #4a6912;
$custom-light: #809458;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6912",
  "rgb": {
    "r": 74,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 81.379,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47934,
    "c": 0.11617,
    "h": 128
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#4A6912
secondary
#5C36A1
accent
#3AED7A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6912

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

Preview Lab → · Contrast checker → · Palette generator →

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