#4A7412#4A7412

#4A7412 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 50.9% C 0.131 H 131.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4A7412
RGBrgb(74, 116, 18)
HSLhsl(86, 73%, 26%)
HSVhsv(86, 84%, 45%)
CMYKcmyk(36.2%, 0%, 84.5%, 54.5%)
CIE-LABlab(44.22, -30.17, 44.87)
CIE-LCHlch(44.22, 54.07, 123.92°)
OKLaboklab(50.9% -0.0858 0.0985)
OKLCHoklch(50.9% 0.131 131.1)
XYZxyz(9.1785, 13.9900, 2.7889)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7412 #3C1274
analogous
#746D12 #4A7412 #197412
triadic
#4A7412 #124A74 #74124A
tetradic
#4A7412 #12746D #3C1274 #741219
square
#4A7412 #12746D #3C1274 #741219
split-complementary
#4A7412 #121974 #6D1274
monochromatic
#111A04 #283F0A #4A7412 #6CA91A #8DDD23

Accessibility & contrast

On white

5.53
#4A7412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4A7412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7412
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7412#FFFFFF#000000##FFFFFF
##4A74121.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#4C6F62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7412;
/* rgb */ color: rgb(74, 116, 18);
/* oklch */ color: oklch(50.9% 0.131 131.1);
Tailwind
colors: {
  custom: {
    50: '#819c5a',
    500: '#4a7412',
    950: '#000000',
  },
}
SCSS
$custom: #4a7412;
$custom-light: #819c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7412",
  "rgb": {
    "r": 74,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 85.714,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50901,
    "c": 0.13069,
    "h": 131.1
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#4A7412
secondary
#6937AB
accent
#38F087
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7412

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

Preview Lab → · Contrast checker → · Palette generator →

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