#4A802C#4A802C

#4A802C is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.3% C 0.130 H 136.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4A802C
RGBrgb(74, 128, 44)
HSLhsl(99, 49%, 34%)
HSVhsv(99, 66%, 50%)
CMYKcmyk(42.2%, 0%, 65.6%, 49.8%)
CIE-LABlab(48.35, -33.75, 38.87)
CIE-LCHlch(48.35, 51.48, 130.97°)
OKLaboklab(54.34% -0.0935 0.0899)
OKLCHoklch(54.34% 0.13 136.2)
XYZxyz(10.9975, 17.0754, 5.0988)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A802C #622C80
analogous
#74802C #4A802C #2C8038
triadic
#4A802C #2C4A80 #802C4A
tetradic
#4A802C #2C7480 #622C80 #80382C
square
#4A802C #2C7480 #622C80 #80382C
split-complementary
#4A802C #382C80 #802C74
monochromatic
#15250D #30521C #4A802C #64AE3C #84C85F

Accessibility & contrast

On white

4.76
#4A802C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4A802C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A802C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A802C#FFFFFF#000000##FFFFFF
##4A802C1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847622
Deuteranopia (green-blind)
#7D7133
Tritanopia (blue-blind)
#487B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a802c;
/* rgb */ color: rgb(74, 128, 44);
/* oklch */ color: oklch(54.3% 0.130 136.2);
Tailwind
colors: {
  custom: {
    50: '#81a569',
    500: '#4a802c',
    950: '#000000',
  },
}
SCSS
$custom: #4a802c;
$custom-light: #81a569;
$custom-dark: #000000;
JSON
{
  "hex": "#4a802c",
  "rgb": {
    "r": 74,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 98.571,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5434,
    "c": 0.12972,
    "h": 136.2
  },
  "luminance": 0.17076
}

Semantic roles & 50–950 ramp

primary
#4A802C
secondary
#905AAE
accent
#4FD8A7
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #4A802C

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

Preview Lab → · Contrast checker → · Palette generator →

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