#4F681C#4F681C

#4F681C is a mid, moderate yellow-green. Relative luminance 0.116; OKLCH L 48.1% C 0.106 H 126.0°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4F681C
RGBrgb(79, 104, 28)
HSLhsl(80, 58%, 26%)
HSVhsv(80, 73%, 41%)
CMYKcmyk(24%, 0%, 73.1%, 59.2%)
CIE-LABlab(40.65, -21.60, 37.91)
CIE-LCHlch(40.65, 43.63, 119.67°)
OKLaboklab(48.1% -0.0621 0.0855)
OKLCHoklch(48.1% 0.106 126)
XYZxyz(8.3844, 11.6466, 2.9047)
Luminance0.1165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F681C #351C68
analogous
#685B1C #4F681C #29681C
triadic
#4F681C #1C4F68 #681C4F
tetradic
#4F681C #1C685B #351C68 #681C29
square
#4F681C #1C685B #351C68 #681C29
split-complementary
#4F681C #1C2968 #5B1C68
monochromatic
#121806 #2A380F #4F681C #749829 #98C836

Accessibility & contrast

On white

6.31
#4F681C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4F681C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F681C
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F681C#FFFFFF#000000##FFFFFF
##4F681C1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6110
Deuteranopia (green-blind)
#6A5F22
Tritanopia (blue-blind)
#536359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f681c;
/* rgb */ color: rgb(79, 104, 28);
/* oklch */ color: oklch(48.1% 0.106 126.0);
Tailwind
colors: {
  custom: {
    50: '#83935d',
    500: '#4f681c',
    950: '#000000',
  },
}
SCSS
$custom: #4f681c;
$custom-light: #83935d;
$custom-dark: #000000;
JSON
{
  "hex": "#4f681c",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 28
  },
  "hsl": {
    "h": 79.737,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.481,
    "c": 0.10564,
    "h": 126
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#4F681C
secondary
#60439D
accent
#47E17A
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F681C

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

Preview Lab → · Contrast checker → · Palette generator →

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