#4A7114#4A7114

#4A7114 is a mid, vivid yellow-green. Relative luminance 0.133; OKLCH L 50.1% C 0.126 H 130.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4A7114
RGBrgb(74, 113, 20)
HSLhsl(85, 70%, 26%)
HSVhsv(85, 82%, 44%)
CMYKcmyk(34.5%, 0%, 82.3%, 55.7%)
CIE-LABlab(43.24, -28.66, 43.34)
CIE-LCHlch(43.24, 51.96, 123.47°)
OKLaboklab(50.1% -0.0816 0.0957)
OKLCHoklch(50.1% 0.126 130.5)
XYZxyz(8.8554, 13.3163, 2.7654)
Luminance0.1332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7114 #3B1471
analogous
#716914 #4A7114 #1B7114
triadic
#4A7114 #144A71 #71144A
tetradic
#4A7114 #147169 #3B1471 #71141B
square
#4A7114 #147169 #3B1471 #71141B
split-complementary
#4A7114 #141B71 #691471
monochromatic
#111A05 #283D0B #4A7114 #6CA51D #8ED927

Accessibility & contrast

On white

5.73
#4A7114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4A7114 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7114
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7114#FFFFFF#000000##FFFFFF
##4A71141.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#71651E
Tritanopia (blue-blind)
#4C6C60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4a7114;
/* rgb */ color: rgb(74, 113, 20);
/* oklch */ color: oklch(50.1% 0.126 130.5);
Tailwind
colors: {
  custom: {
    50: '#809a5a',
    500: '#4a7114',
    950: '#000000',
  },
}
SCSS
$custom: #4a7114;
$custom-light: #809a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7114",
  "rgb": {
    "r": 74,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 85.161,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50102,
    "c": 0.12575,
    "h": 130.5
  },
  "luminance": 0.13317
}

Semantic roles & 50–950 ramp

primary
#4A7114
secondary
#6839A7
accent
#3BED86
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7114

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

Preview Lab → · Contrast checker → · Palette generator →

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