#4A7618#4A7618

#4A7618 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.5% C 0.130 H 132.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4A7618
RGBrgb(74, 118, 24)
HSLhsl(88, 66%, 28%)
HSVhsv(88, 80%, 46%)
CMYKcmyk(37.3%, 0%, 79.7%, 53.7%)
CIE-LABlab(44.91, -30.77, 43.56)
CIE-LCHlch(44.91, 53.33, 125.24°)
OKLaboklab(51.48% -0.087 0.0968)
OKLCHoklch(51.48% 0.13 132)
XYZxyz(9.4672, 14.4783, 3.1597)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7618 #441876
analogous
#767318 #4A7618 #1B7618
triadic
#4A7618 #184A76 #76184A
tetradic
#4A7618 #187673 #441876 #76181B
square
#4A7618 #187673 #441876 #76181B
split-complementary
#4A7618 #181B76 #731876
monochromatic
#101905 #2A430E #4A7618 #6AA922 #89D533

Accessibility & contrast

On white

5.39
#4A7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4A7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7618
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7618#FFFFFF#000000##FFFFFF
##4A76181.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#4B7164
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4a7618;
/* rgb */ color: rgb(74, 118, 24);
/* oklch */ color: oklch(51.5% 0.130 132.0);
Tailwind
colors: {
  custom: {
    50: '#819e5d',
    500: '#4a7618',
    950: '#000000',
  },
}
SCSS
$custom: #4a7618;
$custom-light: #819e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7618",
  "rgb": {
    "r": 74,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 88.085,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.13017,
    "h": 132
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#4A7618
secondary
#713FAB
accent
#3FE98E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A7618

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

Preview Lab → · Contrast checker → · Palette generator →

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