#4F6317#4F6317

#4F6317 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.7% C 0.102 H 123.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#4F6317
RGBrgb(79, 99, 23)
HSLhsl(76, 62%, 24%)
HSVhsv(76, 77%, 39%)
CMYKcmyk(20.2%, 0%, 76.8%, 61.2%)
CIE-LABlab(38.98, -19.33, 38.31)
CIE-LCHlch(38.98, 42.91, 116.77°)
OKLaboklab(46.74% -0.0563 0.0855)
OKLCHoklch(46.74% 0.102 123.4)
XYZxyz(7.8410, 10.6478, 2.4526)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6317 #2B1763
analogous
#635117 #4F6317 #296317
triadic
#4F6317 #174F63 #63174F
tetradic
#4F6317 #176351 #2B1763 #631729
square
#4F6317 #176351 #2B1763 #631729
split-complementary
#4F6317 #172963 #511763
monochromatic
#141906 #27310B #4F6317 #779523 #9EC62E

Accessibility & contrast

On white

6.71
#4F6317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4F6317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6317
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6317#FFFFFF#000000##FFFFFF
##4F63171.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C09
Deuteranopia (green-blind)
#665C1E
Tritanopia (blue-blind)
#535E54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f6317;
/* rgb */ color: rgb(79, 99, 23);
/* oklch */ color: oklch(46.7% 0.102 123.4);
Tailwind
colors: {
  custom: {
    50: '#838f5a',
    500: '#4f6317',
    950: '#000000',
  },
}
SCSS
$custom: #4f6317;
$custom-light: #838f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6317",
  "rgb": {
    "r": 79,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 75.789,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46739,
    "c": 0.10235,
    "h": 123.4
  },
  "luminance": 0.10648
}

Semantic roles & 50–950 ramp

primary
#4F6317
secondary
#553C9A
accent
#42E56D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6317

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

Preview Lab → · Contrast checker → · Palette generator →

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