#4A7518#4A7518

#4A7518 is a mid, vivid yellow-green. Relative luminance 0.142; OKLCH L 51.2% C 0.129 H 131.8°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4A7518
RGBrgb(74, 117, 24)
HSLhsl(88, 66%, 28%)
HSVhsv(88, 79%, 46%)
CMYKcmyk(36.8%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.58, -30.31, 43.24)
CIE-LCHlch(44.58, 52.81, 125.03°)
OKLaboklab(51.21% -0.0858 0.0961)
OKLCHoklch(51.21% 0.129 131.8)
XYZxyz(9.3501, 14.2440, 3.1207)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7518 #431875
analogous
#757118 #4A7518 #1C7518
triadic
#4A7518 #184A75 #75184A
tetradic
#4A7518 #187571 #431875 #75181C
square
#4A7518 #187571 #431875 #75181C
split-complementary
#4A7518 #181C75 #711875
monochromatic
#101905 #2A420E #4A7518 #6AA822 #8AD532

Accessibility & contrast

On white

5.46
#4A7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4A7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7518
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7518#FFFFFF#000000##FFFFFF
##4A75181.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C03
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#4B7063
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a7518;
/* rgb */ color: rgb(74, 117, 24);
/* oklch */ color: oklch(51.2% 0.129 131.8);
Tailwind
colors: {
  custom: {
    50: '#819d5d',
    500: '#4a7518',
    950: '#000000',
  },
}
SCSS
$custom: #4a7518;
$custom-light: #819d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7518",
  "rgb": {
    "r": 74,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 87.742,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51207,
    "c": 0.12884,
    "h": 131.8
  },
  "luminance": 0.14244
}

Semantic roles & 50–950 ramp

primary
#4A7518
secondary
#703FAA
accent
#3FE98E
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4A7518

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

Preview Lab → · Contrast checker → · Palette generator →

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