#4A751A#4A751A

#4A751A is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.2% C 0.128 H 131.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4A751A
RGBrgb(74, 117, 26)
HSLhsl(88, 64%, 28%)
HSVhsv(88, 78%, 46%)
CMYKcmyk(36.8%, 0%, 77.8%, 54.1%)
CIE-LABlab(44.59, -30.18, 42.53)
CIE-LCHlch(44.59, 52.15, 125.36°)
OKLaboklab(51.22% -0.0853 0.095)
OKLCHoklch(51.22% 0.128 131.9)
XYZxyz(9.3717, 14.2526, 3.2343)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A751A #451A75
analogous
#75721A #4A751A #1C751A
triadic
#4A751A #1A4A75 #751A4A
tetradic
#4A751A #1A7572 #451A75 #751A1C
square
#4A751A #1A7572 #451A75 #751A1C
split-complementary
#4A751A #1A1C75 #721A75
monochromatic
#101906 #2A430F #4A751A #6AA725 #89D337

Accessibility & contrast

On white

5.45
#4A751A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4A751A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A751A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A751A#FFFFFF#000000##FFFFFF
##4A751A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C07
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#4B7064
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a751a;
/* rgb */ color: rgb(74, 117, 26);
/* oklch */ color: oklch(51.2% 0.128 131.9);
Tailwind
colors: {
  custom: {
    50: '#819d5e',
    500: '#4a751a',
    950: '#000000',
  },
}
SCSS
$custom: #4a751a;
$custom-light: #819d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#4a751a",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 26
  },
  "hsl": {
    "h": 88.352,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51221,
    "c": 0.12765,
    "h": 131.9
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#4A751A
secondary
#7341AA
accent
#41E78F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A751A

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

Preview Lab → · Contrast checker → · Palette generator →

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