#4F6815#4F6815

#4F6815 is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.0% C 0.110 H 125.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4F6815
RGBrgb(79, 104, 21)
HSLhsl(78, 66%, 25%)
HSVhsv(78, 80%, 41%)
CMYKcmyk(24%, 0%, 79.8%, 59.2%)
CIE-LABlab(40.60, -22.05, 40.64)
CIE-LCHlch(40.60, 46.23, 118.48°)
OKLaboklab(48.05% -0.0639 0.09)
OKLCHoklch(48.05% 0.11 125.4)
XYZxyz(8.3102, 11.6169, 2.5138)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6815 #2E1568
analogous
#685815 #4F6815 #266815
triadic
#4F6815 #154F68 #68154F
tetradic
#4F6815 #156858 #2E1568 #681526
square
#4F6815 #156858 #2E1568 #681526
split-complementary
#4F6815 #152668 #581568
monochromatic
#131905 #28350B #4F6815 #769B1F #9CCE2A

Accessibility & contrast

On white

6.32
#4F6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4F6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6815
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6815#FFFFFF#000000##FFFFFF
##4F68151.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6103
Deuteranopia (green-blind)
#6B5F1D
Tritanopia (blue-blind)
#536358
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6815;
/* rgb */ color: rgb(79, 104, 21);
/* oklch */ color: oklch(48.0% 0.110 125.4);
Tailwind
colors: {
  custom: {
    50: '#83935a',
    500: '#4f6815',
    950: '#000000',
  },
}
SCSS
$custom: #4f6815;
$custom-light: #83935a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6815",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 78.072,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.11041,
    "h": 125.4
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#4F6815
secondary
#583A9F
accent
#3EE972
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6815

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

Preview Lab → · Contrast checker → · Palette generator →

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