#4F7318#4F7318

#4F7318 is a mid, vivid yellow-green. Relative luminance 0.140; OKLCH L 51.0% C 0.123 H 129.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F7318
RGBrgb(79, 115, 24)
HSLhsl(84, 65%, 27%)
HSVhsv(84, 79%, 45%)
CMYKcmyk(31.3%, 0%, 79.1%, 54.9%)
CIE-LABlab(44.22, -27.36, 43.00)
CIE-LCHlch(44.22, 50.96, 122.46°)
OKLaboklab(50.99% -0.0781 0.0955)
OKLCHoklch(50.99% 0.123 129.3)
XYZxyz(9.5200, 13.9894, 3.0626)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7318 #3C1873
analogous
#736A18 #4F7318 #227318
triadic
#4F7318 #184F73 #73184F
tetradic
#4F7318 #18736A #3C1873 #731822
square
#4F7318 #18736A #3C1873 #731822
split-complementary
#4F7318 #182273 #6A1873
monochromatic
#111905 #2C400D #4F7318 #72A623 #94D431

Accessibility & contrast

On white

5.53
#4F7318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4F7318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F7318
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F7318#FFFFFF#000000##FFFFFF
##4F73181.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#526E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f7318;
/* rgb */ color: rgb(79, 115, 24);
/* oklch */ color: oklch(51.0% 0.123 129.3);
Tailwind
colors: {
  custom: {
    50: '#849b5d',
    500: '#4f7318',
    950: '#000000',
  },
}
SCSS
$custom: #4f7318;
$custom-light: #849b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7318",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 83.736,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50989,
    "c": 0.12338,
    "h": 129.3
  },
  "luminance": 0.1399
}

Semantic roles & 50–950 ramp

primary
#4F7318
secondary
#683FA8
accent
#3FE882
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7318

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

Preview Lab → · Contrast checker → · Palette generator →

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