#4F6417#4F6417

#4F6417 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 47.0% C 0.104 H 123.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#4F6417
RGBrgb(79, 100, 23)
HSLhsl(76, 63%, 24%)
HSVhsv(76, 77%, 39%)
CMYKcmyk(21%, 0%, 77%, 60.8%)
CIE-LABlab(39.31, -19.85, 38.63)
CIE-LCHlch(39.31, 43.43, 117.20°)
OKLaboklab(47% -0.0577 0.0862)
OKLCHoklch(47% 0.104 123.8)
XYZxyz(7.9364, 10.8384, 2.4844)
Luminance0.1084 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6417 #2C1764
analogous
#645317 #4F6417 #296417
triadic
#4F6417 #174F64 #64174F
tetradic
#4F6417 #176453 #2C1764 #641729
square
#4F6417 #176453 #2C1764 #641729
split-complementary
#4F6417 #172964 #531764
monochromatic
#141906 #28320C #4F6417 #769622 #9EC82E

Accessibility & contrast

On white

6.63
#4F6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4F6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6417
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6417#FFFFFF#000000##FFFFFF
##4F64171.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#535F55
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f6417;
/* rgb */ color: rgb(79, 100, 23);
/* oklch */ color: oklch(47.0% 0.104 123.8);
Tailwind
colors: {
  custom: {
    50: '#83905a',
    500: '#4f6417',
    950: '#000000',
  },
}
SCSS
$custom: #4f6417;
$custom-light: #83905a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6417",
  "rgb": {
    "r": 79,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 76.364,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.47003,
    "c": 0.10371,
    "h": 123.8
  },
  "luminance": 0.10838
}

Semantic roles & 50–950 ramp

primary
#4F6417
secondary
#563C9A
accent
#42E66F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6417

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

Preview Lab → · Contrast checker → · Palette generator →

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