#4A7318#4A7318

#4A7318 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.7% C 0.126 H 131.3°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#4A7318
RGBrgb(74, 115, 24)
HSLhsl(87, 65%, 27%)
HSVhsv(87, 79%, 45%)
CMYKcmyk(35.7%, 0%, 79.1%, 54.9%)
CIE-LABlab(43.92, -29.37, 42.61)
CIE-LCHlch(43.92, 51.75, 124.58°)
OKLaboklab(50.67% -0.0833 0.0948)
OKLCHoklch(50.67% 0.126 131.3)
XYZxyz(9.1196, 13.7829, 3.0438)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7318 #411873
analogous
#736F18 #4A7318 #1C7318
triadic
#4A7318 #184A73 #73184A
tetradic
#4A7318 #18736F #411873 #73181C
square
#4A7318 #18736F #411873 #73181C
split-complementary
#4A7318 #181C73 #6F1873
monochromatic
#101905 #29400D #4A7318 #6BA623 #8BD431

Accessibility & contrast

On white

5.59
#4A7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#4A7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7318
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7318#FFFFFF#000000##FFFFFF
##4A73181.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A04
Deuteranopia (green-blind)
#736721
Tritanopia (blue-blind)
#4B6E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4a7318;
/* rgb */ color: rgb(74, 115, 24);
/* oklch */ color: oklch(50.7% 0.126 131.3);
Tailwind
colors: {
  custom: {
    50: '#809b5d',
    500: '#4a7318',
    950: '#000000',
  },
}
SCSS
$custom: #4a7318;
$custom-light: #809b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7318",
  "rgb": {
    "r": 74,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 87.033,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.12617,
    "h": 131.3
  },
  "luminance": 0.13783
}

Semantic roles & 50–950 ramp

primary
#4A7318
secondary
#6E3FA8
accent
#3FE88C
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7318

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

Preview Lab → · Contrast checker → · Palette generator →

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