#4A6313#4A6313

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

Color values

HEX#4A6313
RGBrgb(74, 99, 19)
HSLhsl(79, 68%, 23%)
HSVhsv(79, 81%, 39%)
CMYKcmyk(25.3%, 0%, 80.8%, 61.2%)
CIE-LABlab(38.60, -21.80, 39.34)
CIE-LCHlch(38.60, 44.98, 118.99°)
OKLaboklab(46.33% -0.0631 0.0871)
OKLCHoklch(46.33% 0.108 125.9)
XYZxyz(7.4035, 10.4264, 2.2384)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6313 #2C1363
analogous
#635413 #4A6313 #226313
triadic
#4A6313 #134A63 #63134A
tetradic
#4A6313 #136354 #2C1363 #631322
square
#4A6313 #136354 #2C1363 #631322
split-complementary
#4A6313 #132263 #541363
monochromatic
#131A05 #243009 #4A6313 #70961D #97CA27

Accessibility & contrast

On white

6.81
#4A6313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A6313
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A6313#FFFFFF#000000##FFFFFF
##4A63131.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C02
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#4E5E54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4a6313;
/* rgb */ color: rgb(74, 99, 19);
/* oklch */ color: oklch(46.3% 0.108 125.9);
Tailwind
colors: {
  custom: {
    50: '#7f8f58',
    500: '#4a6313',
    950: '#000000',
  },
}
SCSS
$custom: #4a6313;
$custom-light: #7f8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6313",
  "rgb": {
    "r": 74,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 78.75,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46328,
    "c": 0.10752,
    "h": 125.9
  },
  "luminance": 0.10427
}

Semantic roles & 50–950 ramp

primary
#4A6313
secondary
#56379B
accent
#3DEB73
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C04
muted
#7C7D79

Preview Lab

Preview with #4A6313

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

Preview Lab → · Contrast checker → · Palette generator →

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