#4A7718#4A7718

#4A7718 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.7% C 0.132 H 132.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4A7718
RGBrgb(74, 119, 24)
HSLhsl(88, 66%, 28%)
HSVhsv(88, 80%, 47%)
CMYKcmyk(37.8%, 0%, 79.8%, 53.3%)
CIE-LABlab(45.24, -31.24, 43.87)
CIE-LCHlch(45.24, 53.86, 125.45°)
OKLaboklab(51.75% -0.0883 0.0974)
OKLCHoklch(51.75% 0.132 132.2)
XYZxyz(9.5856, 14.7150, 3.1992)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A7718 #451877
analogous
#777418 #4A7718 #1A7718
triadic
#4A7718 #184A77 #77184A
tetradic
#4A7718 #187774 #451877 #77181A
square
#4A7718 #187774 #451877 #77181A
split-complementary
#4A7718 #181A77 #741877
monochromatic
#101905 #2A440E #4A7718 #6AAA22 #89D633

Accessibility & contrast

On white

5.33
#4A7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4A7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A7718
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A7718#FFFFFF#000000##FFFFFF
##4A77181.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#4B7265
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4a7718;
/* rgb */ color: rgb(74, 119, 24);
/* oklch */ color: oklch(51.7% 0.132 132.2);
Tailwind
colors: {
  custom: {
    50: '#819e5d',
    500: '#4a7718',
    950: '#000000',
  },
}
SCSS
$custom: #4a7718;
$custom-light: #819e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a7718",
  "rgb": {
    "r": 74,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 88.421,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51746,
    "c": 0.1315,
    "h": 132.2
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#4A7718
secondary
#733FAC
accent
#3EE98F
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #4A7718

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

Preview Lab → · Contrast checker → · Palette generator →

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