#4A642B#4A642B

#4A642B is a mid, moderate yellow-green. Relative luminance 0.107; OKLCH L 46.8% C 0.089 H 129.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#4A642B
RGBrgb(74, 100, 43)
HSLhsl(87, 40%, 28%)
HSVhsv(87, 57%, 39%)
CMYKcmyk(26%, 0%, 57%, 60.8%)
CIE-LABlab(39.15, -20.26, 28.89)
CIE-LCHlch(39.15, 35.28, 125.04°)
OKLaboklab(46.84% -0.0566 0.0683)
OKLCHoklch(46.84% 0.089 129.6)
XYZxyz(7.8172, 10.7444, 3.9471)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A642B #452B64
analogous
#64612B #4A642B #2E642B
triadic
#4A642B #2B4A64 #642B4A
tetradic
#4A642B #2B6461 #452B64 #642B2E
square
#4A642B #2B6461 #452B64 #642B2E
split-complementary
#4A642B #2B2E64 #612B64
monochromatic
#101509 #2A3919 #4A642B #6A8F3D #89B554

Accessibility & contrast

On white

6.67
#4A642B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4A642B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A642B
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A642B#FFFFFF#000000##FFFFFF
##4A642B1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D26
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#4C6057
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a642b;
/* rgb */ color: rgb(74, 100, 43);
/* oklch */ color: oklch(46.8% 0.089 129.6);
Tailwind
colors: {
  custom: {
    50: '#7e9066',
    500: '#4a642b',
    950: '#000000',
  },
}
SCSS
$custom: #4a642b;
$custom-light: #7e9066;
$custom-dark: #000000;
JSON
{
  "hex": "#4a642b",
  "rgb": {
    "r": 74,
    "g": 100,
    "b": 43
  },
  "hsl": {
    "h": 87.368,
    "s": 39.86,
    "l": 28.039
  },
  "oklch": {
    "l": 0.46844,
    "c": 0.08873,
    "h": 129.6
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#4A642B
secondary
#735596
accent
#58D08F
background
#F7F8F6
surface
#EEF0EB
border
#C9CBC6
text
#0A0C06
muted
#7C7D7A

Preview Lab

Preview with #4A642B

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

Preview Lab → · Contrast checker → · Palette generator →

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