#4A6014#4A6014

#4A6014 is a mid, moderate yellow-green. Relative luminance 0.099; OKLCH L 45.5% C 0.103 H 124.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4A6014
RGBrgb(74, 96, 20)
HSLhsl(77, 66%, 23%)
HSVhsv(77, 79%, 38%)
CMYKcmyk(22.9%, 0%, 79.2%, 62.4%)
CIE-LABlab(37.61, -20.18, 38.03)
CIE-LCHlch(37.61, 43.05, 117.95°)
OKLaboklab(45.53% -0.0586 0.0845)
OKLCHoklch(45.53% 0.103 124.7)
XYZxyz(7.1332, 9.8720, 2.1914)
Luminance0.0987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6014 #2A1460
analogous
#605014 #4A6014 #246014
triadic
#4A6014 #144A60 #60144A
tetradic
#4A6014 #146050 #2A1460 #601424
square
#4A6014 #146050 #2A1460 #601424
split-complementary
#4A6014 #142460 #501460
monochromatic
#141905 #232D09 #4A6014 #71931F #98C529

Accessibility & contrast

On white

7.06
#4A6014 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4A6014 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A6014
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6014#FFFFFF#000000##FFFFFF
##4A60141.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665905
Deuteranopia (green-blind)
#63581B
Tritanopia (blue-blind)
#4E5B51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a6014;
/* rgb */ color: rgb(74, 96, 20);
/* oklch */ color: oklch(45.5% 0.103 124.7);
Tailwind
colors: {
  custom: {
    50: '#7f8d58',
    500: '#4a6014',
    950: '#000000',
  },
}
SCSS
$custom: #4a6014;
$custom-light: #7f8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6014",
  "rgb": {
    "r": 74,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 77.368,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45531,
    "c": 0.10282,
    "h": 124.7
  },
  "luminance": 0.09872
}

Semantic roles & 50–950 ramp

primary
#4A6014
secondary
#543898
accent
#3FE870
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A6014

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

Preview Lab → · Contrast checker → · Palette generator →

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