#4F6818#4F6818

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

Color values

HEX#4F6818
RGBrgb(79, 104, 24)
HSLhsl(79, 63%, 25%)
HSVhsv(79, 77%, 41%)
CMYKcmyk(24%, 0%, 76.9%, 59.2%)
CIE-LABlab(40.62, -21.87, 39.52)
CIE-LCHlch(40.62, 45.17, 118.96°)
OKLaboklab(48.07% -0.0632 0.0882)
OKLCHoklch(48.07% 0.108 125.6)
XYZxyz(8.3397, 11.6287, 2.6692)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6818 #311868
analogous
#685918 #4F6818 #276818
triadic
#4F6818 #184F68 #68184F
tetradic
#4F6818 #186859 #311868 #681827
square
#4F6818 #186859 #311868 #681827
split-complementary
#4F6818 #182768 #591868
monochromatic
#131906 #29360D #4F6818 #759A23 #9BCB2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6818#FFFFFF#000000##FFFFFF
##4F68181.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)
#6E6109
Deuteranopia (green-blind)
#6B5F1F
Tritanopia (blue-blind)
#536359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f6818;
/* rgb */ color: rgb(79, 104, 24);
/* oklch */ color: oklch(48.1% 0.108 125.6);
Tailwind
colors: {
  custom: {
    50: '#83935b',
    500: '#4f6818',
    950: '#000000',
  },
}
SCSS
$custom: #4f6818;
$custom-light: #83935b;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6818",
  "rgb": {
    "r": 79,
    "g": 104,
    "b": 24
  },
  "hsl": {
    "h": 78.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.48067,
    "c": 0.10849,
    "h": 125.6
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#4F6818
secondary
#5C3E9E
accent
#42E675
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6818

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

Preview Lab → · Contrast checker → · Palette generator →

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