#4F6318#4F6318

#4F6318 is a mid, moderate yellow-green. Relative luminance 0.107; 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#4F6318
RGBrgb(79, 99, 24)
HSLhsl(76, 61%, 24%)
HSVhsv(76, 76%, 39%)
CMYKcmyk(20.2%, 0%, 75.8%, 61.2%)
CIE-LABlab(38.99, -19.26, 37.91)
CIE-LCHlch(38.99, 42.52, 116.93°)
OKLaboklab(46.75% -0.056 0.0848)
OKLCHoklch(46.75% 0.102 123.4)
XYZxyz(7.8512, 10.6518, 2.5064)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6318 #2C1863
analogous
#635218 #4F6318 #2A6318
triadic
#4F6318 #184F63 #63184F
tetradic
#4F6318 #186352 #2C1863 #63182A
square
#4F6318 #186352 #2C1863 #63182A
split-complementary
#4F6318 #182A63 #521863
monochromatic
#141906 #28320C #4F6318 #769424 #9EC630

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F6318#FFFFFF#000000##FFFFFF
##4F63181.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)
#695C0B
Deuteranopia (green-blind)
#665C1E
Tritanopia (blue-blind)
#535E54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f6318;
/* rgb */ color: rgb(79, 99, 24);
/* oklch */ color: oklch(46.7% 0.102 123.4);
Tailwind
colors: {
  custom: {
    50: '#838f5a',
    500: '#4f6318',
    950: '#000000',
  },
}
SCSS
$custom: #4f6318;
$custom-light: #838f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6318",
  "rgb": {
    "r": 79,
    "g": 99,
    "b": 24
  },
  "hsl": {
    "h": 76,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.46747,
    "c": 0.10165,
    "h": 123.4
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#4F6318
secondary
#563E99
accent
#44E46E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4F6318

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

Preview Lab → · Contrast checker → · Palette generator →

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