#4A6316#4A6316

#4A6316 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.3% C 0.106 H 126.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#4A6316
RGBrgb(74, 99, 22)
HSLhsl(79, 64%, 24%)
HSVhsv(79, 78%, 39%)
CMYKcmyk(25.3%, 0%, 77.8%, 61.2%)
CIE-LABlab(38.62, -21.62, 38.23)
CIE-LCHlch(38.62, 43.92, 119.49°)
OKLaboklab(46.35% -0.0623 0.0853)
OKLCHoklch(46.35% 0.106 126.2)
XYZxyz(7.4307, 10.4373, 2.3820)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6316 #2F1663
analogous
#635516 #4A6316 #236316
triadic
#4A6316 #164A63 #63164A
tetradic
#4A6316 #166355 #2F1663 #631623
square
#4A6316 #166355 #2F1663 #631623
split-complementary
#4A6316 #162363 #551663
monochromatic
#131906 #25310B #4A6316 #6F9521 #95C72C

Accessibility & contrast

On white

6.80
#4A6316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4A6316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A6316
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6316#FFFFFF#000000##FFFFFF
##4A63161.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C07
Deuteranopia (green-blind)
#655B1D
Tritanopia (blue-blind)
#4D5E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a6316;
/* rgb */ color: rgb(74, 99, 22);
/* oklch */ color: oklch(46.3% 0.106 126.2);
Tailwind
colors: {
  custom: {
    50: '#7f8f59',
    500: '#4a6316',
    950: '#000000',
  },
}
SCSS
$custom: #4a6316;
$custom-light: #7f8f59;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6316",
  "rgb": {
    "r": 74,
    "g": 99,
    "b": 22
  },
  "hsl": {
    "h": 79.481,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46349,
    "c": 0.10562,
    "h": 126.2
  },
  "luminance": 0.10437
}

Semantic roles & 50–950 ramp

primary
#4A6316
secondary
#5A3B9A
accent
#41E777
background
#F7F8F5
surface
#EEF0E9
border
#C9CBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6316

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

Preview Lab → · Contrast checker → · Palette generator →

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