#4F640F#4F640F

#4F640F is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.9% C 0.108 H 123.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4F640F
RGBrgb(79, 100, 15)
HSLhsl(75, 74%, 23%)
HSVhsv(75, 85%, 39%)
CMYKcmyk(21%, 0%, 85%, 60.8%)
CIE-LABlab(39.26, -20.28, 41.44)
CIE-LCHlch(39.26, 46.13, 116.08°)
OKLaboklab(46.95% -0.0596 0.0906)
OKLCHoklch(46.95% 0.108 123.3)
XYZxyz(7.8680, 10.8110, 2.1241)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F640F #240F64
analogous
#644F0F #4F640F #24640F
triadic
#4F640F #0F4F64 #640F4F
tetradic
#4F640F #0F644F #240F64 #640F24
square
#4F640F #0F644F #240F64 #640F24
split-complementary
#4F640F #0F2464 #4F0F64
monochromatic
#151B04 #252F07 #4F640F #799917 #A3CE1F

Accessibility & contrast

On white

6.64
#4F640F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4F640F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F640F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F640F#FFFFFF#000000##FFFFFF
##4F640F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#685C18
Tritanopia (blue-blind)
#535F55
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f640f;
/* rgb */ color: rgb(79, 100, 15);
/* oklch */ color: oklch(46.9% 0.108 123.3);
Tailwind
colors: {
  custom: {
    50: '#839056',
    500: '#4f640f',
    950: '#000000',
  },
}
SCSS
$custom: #4f640f;
$custom-light: #839056;
$custom-dark: #000000;
JSON
{
  "hex": "#4f640f",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 15
  },
  "hsl": {
    "h": 74.824,
    "s": 73.913,
    "l": 22.549
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.10845,
    "h": 123.3
  },
  "luminance": 0.10811
}

Semantic roles & 50–950 ramp

primary
#4F640F
secondary
#4C329D
accent
#37F165
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4F640F

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

Preview Lab → · Contrast checker → · Palette generator →

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