#4F6F12#4F6F12

#4F6F12 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.9% C 0.121 H 127.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4F6F12
RGBrgb(79, 111, 18)
HSLhsl(81, 72%, 25%)
HSVhsv(81, 84%, 44%)
CMYKcmyk(28.8%, 0%, 83.8%, 56.5%)
CIE-LABlab(42.88, -25.72, 43.76)
CIE-LCHlch(42.88, 50.76, 120.45°)
OKLaboklab(49.89% -0.0742 0.0961)
OKLCHoklch(49.89% 0.121 127.7)
XYZxyz(9.0181, 13.0746, 2.6207)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6F12 #32126F
analogous
#6F6012 #4F6F12 #216F12
triadic
#4F6F12 #124F6F #6F124F
tetradic
#4F6F12 #126F60 #32126F #6F1221
square
#4F6F12 #126F60 #32126F #6F1221
split-complementary
#4F6F12 #12216F #60126F
monochromatic
#131A04 #2A3A09 #4F6F12 #74A41B #9AD823

Accessibility & contrast

On white

5.81
#4F6F12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4F6F12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6F12
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6F12#FFFFFF#000000##FFFFFF
##4F6F121.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#526A5E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4f6f12;
/* rgb */ color: rgb(79, 111, 18);
/* oklch */ color: oklch(49.9% 0.121 127.7);
Tailwind
colors: {
  custom: {
    50: '#849859',
    500: '#4f6f12',
    950: '#000000',
  },
}
SCSS
$custom: #4f6f12;
$custom-light: #849859;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6f12",
  "rgb": {
    "r": 79,
    "g": 111,
    "b": 18
  },
  "hsl": {
    "h": 80.645,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.12136,
    "h": 127.7
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#4F6F12
secondary
#5D37A6
accent
#39EF78
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #4F6F12

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

Preview Lab → · Contrast checker → · Palette generator →

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