#4F5D12#4F5D12

#4F5D12 is a mid, moderate yellow-green. Relative luminance 0.095; OKLCH L 45.1% C 0.098 H 119.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4F5D12
RGBrgb(79, 93, 18)
HSLhsl(71, 68%, 22%)
HSVhsv(71, 81%, 36%)
CMYKcmyk(15.1%, 0%, 80.6%, 63.5%)
CIE-LABlab(36.99, -16.39, 38.33)
CIE-LCHlch(36.99, 41.69, 113.15°)
OKLaboklab(45.13% -0.0487 0.0846)
OKLCHoklch(45.13% 0.098 119.9)
XYZxyz(7.2481, 9.5347, 2.0307)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5D12 #20125D
analogous
#5D4612 #4F5D12 #2A5D12
triadic
#4F5D12 #124F5D #5D124F
tetradic
#4F5D12 #125D46 #20125D #5D122A
square
#4F5D12 #125D46 #20125D #5D122A
split-complementary
#4F5D12 #122A5D #46125D
monochromatic
#161A05 #232A08 #4F5D12 #7B901C #A6C426

Accessibility & contrast

On white

7.22
#4F5D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4F5D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F5D12
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5D12#FFFFFF#000000##FFFFFF
##4F5D121.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635703
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#54584F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f5d12;
/* rgb */ color: rgb(79, 93, 18);
/* oklch */ color: oklch(45.1% 0.098 119.9);
Tailwind
colors: {
  custom: {
    50: '#838a57',
    500: '#4f5d12',
    950: '#000000',
  },
}
SCSS
$custom: #4f5d12;
$custom-light: #838a57;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5d12",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 18
  },
  "hsl": {
    "h": 71.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.09761,
    "h": 119.9
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#4F5D12
secondary
#473595
accent
#3DEA5E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5D12

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

Preview Lab → · Contrast checker → · Palette generator →

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