#4F6830#4F6830

#4F6830 is a mid, moderate yellow-green. Relative luminance 0.118; OKLCH L 48.3% C 0.087 H 129.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4F6830
RGBrgb(79, 104, 48)
HSLhsl(87, 37%, 30%)
HSVhsv(87, 54%, 41%)
CMYKcmyk(24%, 0%, 53.8%, 59.2%)
CIE-LABlab(40.86, -19.67, 28.32)
CIE-LCHlch(40.86, 34.48, 124.78°)
OKLaboklab(48.34% -0.0548 0.0675)
OKLCHoklch(48.34% 0.087 129.1)
XYZxyz(8.7082, 11.7761, 4.6100)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6830 #493068
analogous
#686530 #4F6830 #336830
triadic
#4F6830 #304F68 #68304F
tetradic
#4F6830 #306865 #493068 #683033
square
#4F6830 #306865 #493068 #683033
split-complementary
#4F6830 #303368 #653068
monochromatic
#10150A #2F3E1D #4F6830 #6F9243 #8EB55E

Accessibility & contrast

On white

6.26
#4F6830 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4F6830 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6830
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6830#FFFFFF#000000##FFFFFF
##4F68301.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D612B
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#51645B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6830;
/* rgb */ color: rgb(79, 104, 48);
/* oklch */ color: oklch(48.3% 0.087 129.1);
Tailwind
colors: {
  custom: {
    50: '#82936a',
    500: '#4f6830',
    950: '#000000',
  },
}
SCSS
$custom: #4f6830;
$custom-light: #82936a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6830",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 48
  },
  "hsl": {
    "h": 86.786,
    "s": 36.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.48337,
    "c": 0.08695,
    "h": 129.1
  },
  "luminance": 0.11776
}

Semantic roles & 50–950 ramp

primary
#4F6830
secondary
#775A99
accent
#5BCD8E
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0A0D06
muted
#7C7E7A

Preview Lab

Preview with #4F6830

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

Preview Lab → · Contrast checker → · Palette generator →

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