#4A7526#4A7526

#4A7526 is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.3% C 0.119 H 133.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4A7526
RGBrgb(74, 117, 38)
HSLhsl(93, 51%, 30%)
HSVhsv(93, 68%, 46%)
CMYKcmyk(36.8%, 0%, 67.5%, 54.1%)
CIE-LABlab(44.69, -29.25, 37.62)
CIE-LCHlch(44.69, 47.66, 127.86°)
OKLaboklab(51.33% -0.0818 0.0865)
OKLCHoklch(51.33% 0.119 133.4)
XYZxyz(9.5350, 14.3180, 4.0946)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7526 #512675
analogous
#717526 #4A7526 #267529
triadic
#4A7526 #264A75 #75264A
tetradic
#4A7526 #267175 #512675 #752926
square
#4A7526 #267175 #512675 #752926
split-complementary
#4A7526 #292675 #752671
monochromatic
#101908 #2D4717 #4A7526 #67A335 #85C64F

Accessibility & contrast

On white

5.44
#4A7526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4A7526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7526
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7526#FFFFFF#000000##FFFFFF
##4A75261.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C1C
Deuteranopia (green-blind)
#74682C
Tritanopia (blue-blind)
#4A7065
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a7526;
/* rgb */ color: rgb(74, 117, 38);
/* oklch */ color: oklch(51.3% 0.119 133.4);
Tailwind
colors: {
  custom: {
    50: '#809d64',
    500: '#4a7526',
    950: '#000000',
  },
}
SCSS
$custom: #4a7526;
$custom-light: #809d64;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7526",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 92.658,
    "s": 50.968,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.119,
    "h": 133.4
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#4A7526
secondary
#7F4FA7
accent
#4DDA9A
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0A0E06
muted
#7C7E7A

Preview Lab

Preview with #4A7526

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

Preview Lab → · Contrast checker → · Palette generator →

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