#4F6115#4F6115

#4F6115 is a mid, moderate yellow-green. Relative luminance 0.103; OKLCH L 46.2% C 0.101 H 122.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4F6115
RGBrgb(79, 97, 21)
HSLhsl(74, 64%, 23%)
HSVhsv(74, 78%, 38%)
CMYKcmyk(18.6%, 0%, 78.4%, 62%)
CIE-LABlab(38.32, -18.38, 38.45)
CIE-LCHlch(38.32, 42.62, 115.55°)
OKLaboklab(46.2% -0.0539 0.0854)
OKLCHoklch(46.2% 0.101 122.3)
XYZxyz(7.6346, 10.2658, 2.2886)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6115 #271561
analogous
#614D15 #4F6115 #296115
triadic
#4F6115 #154F61 #61154F
tetradic
#4F6115 #15614D #271561 #611529
square
#4F6115 #15614D #271561 #611529
split-complementary
#4F6115 #152961 #4D1561
monochromatic
#141905 #262F0A #4F6115 #789320 #A1C62B

Accessibility & contrast

On white

6.88
#4F6115 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4F6115 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6115
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6115#FFFFFF#000000##FFFFFF
##4F61151.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B06
Deuteranopia (green-blind)
#655A1C
Tritanopia (blue-blind)
#545C52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f6115;
/* rgb */ color: rgb(79, 97, 21);
/* oklch */ color: oklch(46.2% 0.101 122.3);
Tailwind
colors: {
  custom: {
    50: '#838e59',
    500: '#4f6115',
    950: '#000000',
  },
}
SCSS
$custom: #4f6115;
$custom-light: #838e59;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6115",
  "rgb": {
    "r": 79,
    "g": 97,
    "b": 21
  },
  "hsl": {
    "h": 74.211,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46197,
    "c": 0.101,
    "h": 122.3
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#4F6115
secondary
#503A98
accent
#40E768
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6115

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

Preview Lab → · Contrast checker → · Palette generator →

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