#4F6515#4F6515

#4F6515 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 47.3% C 0.106 H 124.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#4F6515
RGBrgb(79, 101, 21)
HSLhsl(77, 66%, 24%)
HSVhsv(77, 79%, 40%)
CMYKcmyk(21.8%, 0%, 79.2%, 60.4%)
CIE-LABlab(39.62, -20.50, 39.70)
CIE-LCHlch(39.62, 44.68, 117.30°)
OKLaboklab(47.25% -0.0597 0.088)
OKLCHoklch(47.25% 0.106 124.1)
XYZxyz(8.0136, 11.0237, 2.4149)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6515 #2B1565
analogous
#655315 #4F6515 #276515
triadic
#4F6515 #154F65 #65154F
tetradic
#4F6515 #156553 #2B1565 #651527
square
#4F6515 #156553 #2B1565 #651527
split-complementary
#4F6515 #152765 #531565
monochromatic
#141905 #27320A #4F6515 #779820 #9ECA2A

Accessibility & contrast

On white

6.55
#4F6515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4F6515 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6515
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6515#FFFFFF#000000##FFFFFF
##4F65151.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#536056
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f6515;
/* rgb */ color: rgb(79, 101, 21);
/* oklch */ color: oklch(47.3% 0.106 124.1);
Tailwind
colors: {
  custom: {
    50: '#839159',
    500: '#4f6515',
    950: '#000000',
  },
}
SCSS
$custom: #4f6515;
$custom-light: #839159;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6515",
  "rgb": {
    "r": 79,
    "g": 101,
    "b": 21
  },
  "hsl": {
    "h": 76.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.47252,
    "c": 0.10637,
    "h": 124.1
  },
  "luminance": 0.11024
}

Semantic roles & 50–950 ramp

primary
#4F6515
secondary
#553A9C
accent
#3FE96E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6515

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

Preview Lab → · Contrast checker → · Palette generator →

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