#4A6A12#4A6A12

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

Color values

HEX#4A6A12
RGBrgb(74, 106, 18)
HSLhsl(82, 71%, 24%)
HSVhsv(82, 83%, 42%)
CMYKcmyk(30.2%, 0%, 83%, 58.4%)
CIE-LABlab(40.91, -25.38, 41.85)
CIE-LCHlch(40.91, 48.94, 121.23°)
OKLaboklab(48.2% -0.0729 0.0922)
OKLCHoklch(48.2% 0.118 128.3)
XYZxyz(8.0873, 11.8074, 2.4251)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6A12 #32126A
analogous
#6A5E12 #4A6A12 #1E6A12
triadic
#4A6A12 #124A6A #6A124A
tetradic
#4A6A12 #126A5E #32126A #6A121E
square
#4A6A12 #126A5E #32126A #6A121E
split-complementary
#4A6A12 #121E6A #5E126A
monochromatic
#121A04 #253609 #4A6A12 #6F9E1B #93D324

Accessibility & contrast

On white

6.25
#4A6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4A6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6A12
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6A12#FFFFFF#000000##FFFFFF
##4A6A121.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6B601B
Tritanopia (blue-blind)
#4D655A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a6a12;
/* rgb */ color: rgb(74, 106, 18);
/* oklch */ color: oklch(48.2% 0.118 128.3);
Tailwind
colors: {
  custom: {
    50: '#809459',
    500: '#4a6a12',
    950: '#000000',
  },
}
SCSS
$custom: #4a6a12;
$custom-light: #809459;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6a12",
  "rgb": {
    "r": 74,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 81.818,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.48203,
    "c": 0.11751,
    "h": 128.3
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#4A6A12
secondary
#5D36A2
accent
#3AEE7B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0A0D04
muted
#7C7E79

Preview Lab

Preview with #4A6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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