#4A762B#4A762B

#4A762B is a mid, moderate yellow-green. Relative luminance 0.146; OKLCH L 51.6% C 0.116 H 134.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4A762B
RGBrgb(74, 118, 43)
HSLhsl(95, 47%, 32%)
HSVhsv(95, 64%, 46%)
CMYKcmyk(37.3%, 0%, 63.6%, 53.7%)
CIE-LABlab(45.06, -29.24, 35.69)
CIE-LCHlch(45.06, 46.13, 129.33°)
OKLaboklab(51.65% -0.0813 0.083)
OKLCHoklch(51.65% 0.116 134.4)
XYZxyz(9.7383, 14.5867, 4.5874)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A762B #572B76
analogous
#70762B #4A762B #2B7632
triadic
#4A762B #2B4A76 #762B4A
tetradic
#4A762B #2B7076 #572B76 #76322B
square
#4A762B #2B7076 #572B76 #76322B
split-complementary
#4A762B #322B76 #762B70
monochromatic
#121C0A #2E491B #4A762B #66A33B #85C259

Accessibility & contrast

On white

5.36
#4A762B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#4A762B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A762B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A762B#FFFFFF#000000##FFFFFF
##4A762B1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D23
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#4A7266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a762b;
/* rgb */ color: rgb(74, 118, 43);
/* oklch */ color: oklch(51.6% 0.116 134.4);
Tailwind
colors: {
  custom: {
    50: '#809e67',
    500: '#4a762b',
    950: '#000000',
  },
}
SCSS
$custom: #4a762b;
$custom-light: #809e67;
$custom-dark: #000000;
JSON
{
  "hex": "#4a762b",
  "rgb": {
    "r": 74,
    "g": 118,
    "b": 43
  },
  "hsl": {
    "h": 95.2,
    "s": 46.584,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.11618,
    "h": 134.4
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#4A762B
secondary
#8655A8
accent
#52D69F
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A762B

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

Preview Lab → · Contrast checker → · Palette generator →

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