#4A6312#4A6312

#4A6312 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#4A6312
RGBrgb(74, 99, 18)
HSLhsl(79, 69%, 23%)
HSVhsv(79, 82%, 39%)
CMYKcmyk(25.3%, 0%, 81.8%, 61.2%)
CIE-LABlab(38.59, -21.85, 39.70)
CIE-LCHlch(38.59, 45.31, 118.83°)
OKLaboklab(46.32% -0.0633 0.0876)
OKLCHoklch(46.32% 0.108 125.9)
XYZxyz(7.3951, 10.4231, 2.1944)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A6312 #2B1263
analogous
#635412 #4A6312 #216312
triadic
#4A6312 #124A63 #63124A
tetradic
#4A6312 #126354 #2B1263 #631221
square
#4A6312 #126354 #2B1263 #631221
split-complementary
#4A6312 #122163 #541263
monochromatic
#131A05 #232F09 #4A6312 #71971B #97CB25

Accessibility & contrast

On white

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

On black

3.08
#4A6312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A6312#FFFFFF#000000##FFFFFF
##4A63121.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a6312;
/* rgb */ color: rgb(74, 99, 18);
/* oklch */ color: oklch(46.3% 0.108 125.9);
Tailwind
colors: {
  custom: {
    50: '#7f8f57',
    500: '#4a6312',
    950: '#000000',
  },
}
SCSS
$custom: #4a6312;
$custom-light: #7f8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#4a6312",
  "rgb": {
    "r": 74,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 78.519,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.10812,
    "h": 125.9
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#4A6312
secondary
#55369B
accent
#3CEC72
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0A0C03
muted
#7C7D78

Preview Lab

Preview with #4A6312

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

Preview Lab → · Contrast checker → · Palette generator →

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