#4A8114#4A8114

#4A8114 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.4% C 0.146 H 133.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4A8114
RGBrgb(74, 129, 20)
HSLhsl(90, 73%, 29%)
HSVhsv(90, 84%, 51%)
CMYKcmyk(42.6%, 0%, 84.5%, 49.4%)
CIE-LABlab(48.52, -35.92, 48.17)
CIE-LCHlch(48.52, 60.09, 126.71°)
OKLaboklab(54.42% -0.1012 0.1058)
OKLCHoklch(54.42% 0.146 133.7)
XYZxyz(10.8004, 17.2063, 3.4137)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A8114 #4B1481
analogous
#818114 #4A8114 #148115
triadic
#4A8114 #144A81 #81144A
tetradic
#4A8114 #148181 #4B1481 #811514
square
#4A8114 #148181 #4B1481 #811514
split-complementary
#4A8114 #151481 #811481
monochromatic
#0F1A04 #2C4C0C #4A8114 #68B61C #87DF30

Accessibility & contrast

On white

4.73
#4A8114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4A8114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A8114
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A8114#FFFFFF#000000##FFFFFF
##4A81141.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7F7221
Tritanopia (blue-blind)
#4A7C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4a8114;
/* rgb */ color: rgb(74, 129, 20);
/* oklch */ color: oklch(54.4% 0.146 133.7);
Tailwind
colors: {
  custom: {
    50: '#82a65d',
    500: '#4a8114',
    950: '#000000',
  },
}
SCSS
$custom: #4a8114;
$custom-light: #82a65d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a8114",
  "rgb": {
    "r": 74,
    "g": 129,
    "b": 20
  },
  "hsl": {
    "h": 90.275,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54422,
    "c": 0.14642,
    "h": 133.7
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#4A8114
secondary
#793BB6
accent
#38F095
background
#F8FAF5
surface
#EFF4E9
border
#CACEC5
text
#0B0F05
muted
#7C7F79

Preview Lab

Preview with #4A8114

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

Preview Lab → · Contrast checker → · Palette generator →

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