#4F7316#4F7316

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

Color values

HEX#4F7316
RGBrgb(79, 115, 22)
HSLhsl(83, 68%, 27%)
HSVhsv(83, 81%, 45%)
CMYKcmyk(31.3%, 0%, 80.9%, 54.9%)
CIE-LABlab(44.21, -27.47, 43.69)
CIE-LCHlch(44.21, 51.60, 122.16°)
OKLaboklab(50.98% -0.0786 0.0966)
OKLCHoklch(50.98% 0.125 129.1)
XYZxyz(9.5000, 13.9814, 2.9571)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F7316 #3A1673
analogous
#736916 #4F7316 #217316
triadic
#4F7316 #164F73 #73164F
tetradic
#4F7316 #167369 #3A1673 #731621
square
#4F7316 #167369 #3A1673 #731621
split-complementary
#4F7316 #162173 #691673
monochromatic
#121A05 #2C400C #4F7316 #72A620 #95D72D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F7316#FFFFFF#000000##FFFFFF
##4F73161.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)
#796A00
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#526E62
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f7316;
/* rgb */ color: rgb(79, 115, 22);
/* oklch */ color: oklch(51.0% 0.125 129.1);
Tailwind
colors: {
  custom: {
    50: '#849b5c',
    500: '#4f7316',
    950: '#000000',
  },
}
SCSS
$custom: #4f7316;
$custom-light: #849b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#4f7316",
  "rgb": {
    "r": 79,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 83.226,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50976,
    "c": 0.12452,
    "h": 129.1
  },
  "luminance": 0.13982
}

Semantic roles & 50–950 ramp

primary
#4F7316
secondary
#663CA9
accent
#3DEB80
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #4F7316

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

Preview Lab → · Contrast checker → · Palette generator →

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