#4F6715#4F6715

#4F6715 is a mid, moderate yellow-green. Relative luminance 0.114; OKLCH L 47.8% C 0.109 H 125.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4F6715
RGBrgb(79, 103, 21)
HSLhsl(78, 66%, 24%)
HSVhsv(78, 80%, 40%)
CMYKcmyk(23.3%, 0%, 79.6%, 59.6%)
CIE-LABlab(40.27, -21.54, 40.33)
CIE-LCHlch(40.27, 45.72, 118.10°)
OKLaboklab(47.78% -0.0625 0.0894)
OKLCHoklch(47.78% 0.109 125)
XYZxyz(8.2101, 11.4168, 2.4804)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6715 #2D1567
analogous
#675615 #4F6715 #266715
triadic
#4F6715 #154F67 #67154F
tetradic
#4F6715 #156756 #2D1567 #671526
square
#4F6715 #156756 #2D1567 #671526
split-complementary
#4F6715 #152667 #561567
monochromatic
#131905 #28340B #4F6715 #769A1F #9DCD2A

Accessibility & contrast

On white

6.40
#4F6715 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4F6715 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6715
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6715#FFFFFF#000000##FFFFFF
##4F67151.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6003
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#536257
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f6715;
/* rgb */ color: rgb(79, 103, 21);
/* oklch */ color: oklch(47.8% 0.109 125.0);
Tailwind
colors: {
  custom: {
    50: '#83925a',
    500: '#4f6715',
    950: '#000000',
  },
}
SCSS
$custom: #4f6715;
$custom-light: #83925a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6715",
  "rgb": {
    "r": 79,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 77.561,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47781,
    "c": 0.10906,
    "h": 125
  },
  "luminance": 0.11417
}

Semantic roles & 50–950 ramp

primary
#4F6715
secondary
#573A9E
accent
#3FE971
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6715

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

Preview Lab → · Contrast checker → · Palette generator →

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