#4A7722#4A7722

#4A7722 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.8% C 0.125 H 133.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4A7722
RGBrgb(74, 119, 34)
HSLhsl(92, 56%, 30%)
HSVhsv(92, 71%, 47%)
CMYKcmyk(37.8%, 0%, 71.4%, 53.3%)
CIE-LABlab(45.31, -30.53, 40.06)
CIE-LCHlch(45.31, 50.37, 127.32°)
OKLaboklab(51.82% -0.0856 0.091)
OKLCHoklch(51.82% 0.125 133.2)
XYZxyz(9.7094, 14.7646, 3.8513)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7722 #4F2277
analogous
#747722 #4A7722 #227725
triadic
#4A7722 #224A77 #77224A
tetradic
#4A7722 #227477 #4F2277 #772522
square
#4A7722 #227477 #4F2277 #772522
split-complementary
#4A7722 #252277 #772274
monochromatic
#0F1807 #2C4714 #4A7722 #68A730 #86CB49

Accessibility & contrast

On white

5.31
#4A7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4A7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7722
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7722#FFFFFF#000000##FFFFFF
##4A77221.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#4A7266
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a7722;
/* rgb */ color: rgb(74, 119, 34);
/* oklch */ color: oklch(51.8% 0.125 133.2);
Tailwind
colors: {
  custom: {
    50: '#809e62',
    500: '#4a7722',
    950: '#000000',
  },
}
SCSS
$custom: #4a7722;
$custom-light: #809e62;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7722",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 91.765,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.51824,
    "c": 0.12495,
    "h": 133.2
  },
  "luminance": 0.14765
}

Semantic roles & 50–950 ramp

primary
#4A7722
secondary
#7D4BAA
accent
#49DF98
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E05
muted
#7C7E7A

Preview Lab

Preview with #4A7722

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

Preview Lab → · Contrast checker → · Palette generator →

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