#4A6512#4A6512

#4A6512 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.111 H 126.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4A6512
RGBrgb(74, 101, 18)
HSLhsl(80, 70%, 23%)
HSVhsv(80, 82%, 40%)
CMYKcmyk(26.7%, 0%, 82.2%, 60.4%)
CIE-LABlab(39.25, -22.88, 40.31)
CIE-LCHlch(39.25, 46.35, 119.57°)
OKLaboklab(46.86% -0.0661 0.0889)
OKLCHoklch(46.86% 0.111 126.6)
XYZxyz(7.5869, 10.8067, 2.2583)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6512 #2D1265
analogous
#655612 #4A6512 #206512
triadic
#4A6512 #124A65 #65124A
tetradic
#4A6512 #126556 #2D1265 #651220
square
#4A6512 #126556 #2D1265 #651220
split-complementary
#4A6512 #122065 #561265
monochromatic
#131A05 #243109 #4A6512 #70991B #96CD25

Accessibility & contrast

On white

6.64
#4A6512 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4A6512 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6512
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6512#FFFFFF#000000##FFFFFF
##4A65121.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#4D6056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a6512;
/* rgb */ color: rgb(74, 101, 18);
/* oklch */ color: oklch(46.9% 0.111 126.6);
Tailwind
colors: {
  custom: {
    50: '#809158',
    500: '#4a6512',
    950: '#000000',
  },
}
SCSS
$custom: #4a6512;
$custom-light: #809158;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6512",
  "rgb": {
    "r": 74,
    "g": 101,
    "b": 18
  },
  "hsl": {
    "h": 79.518,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46858,
    "c": 0.11081,
    "h": 126.6
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#4A6512
secondary
#57369D
accent
#3BED75
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6512

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

Preview Lab → · Contrast checker → · Palette generator →

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