#4A7C22#4A7C22

#4A7C22 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.132 H 134.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4A7C22
RGBrgb(74, 124, 34)
HSLhsl(93, 57%, 31%)
HSVhsv(93, 73%, 49%)
CMYKcmyk(40.3%, 0%, 72.6%, 51.4%)
CIE-LABlab(46.96, -32.83, 41.76)
CIE-LCHlch(46.96, 53.12, 128.17°)
OKLaboklab(53.17% -0.0918 0.0946)
OKLCHoklch(53.17% 0.132 134.2)
XYZxyz(10.3202, 15.9861, 4.0549)
Luminance0.1599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7C22 #54227C
analogous
#777C22 #4A7C22 #227C27
triadic
#4A7C22 #224A7C #7C224A
tetradic
#4A7C22 #22777C #54227C #7C2722
square
#4A7C22 #22777C #54227C #7C2722
split-complementary
#4A7C22 #27227C #7C2277
monochromatic
#111C08 #2D4C15 #4A7C22 #67AC2F #85CE4B

Accessibility & contrast

On white

5.00
#4A7C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#4A7C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7C22
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7C22#FFFFFF#000000##FFFFFF
##4A7C221.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#4A776A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4a7c22;
/* rgb */ color: rgb(74, 124, 34);
/* oklch */ color: oklch(53.2% 0.132 134.2);
Tailwind
colors: {
  custom: {
    50: '#81a263',
    500: '#4a7c22',
    950: '#000000',
  },
}
SCSS
$custom: #4a7c22;
$custom-light: #81a263;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7c22",
  "rgb": {
    "r": 74,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 93.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53169,
    "c": 0.13183,
    "h": 134.2
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

primary
#4A7C22
secondary
#824BAF
accent
#48E09C
background
#F8FAF6
surface
#EFF3EB
border
#CACDC6
text
#0B0F05
muted
#7C7F7A

Preview Lab

Preview with #4A7C22

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

Preview Lab → · Contrast checker → · Palette generator →

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