#4F5D11#4F5D11

#4F5D11 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.23:1 contrast (WCAG AA passes).

Color values

HEX#4F5D11
RGBrgb(79, 93, 17)
HSLhsl(71, 69%, 22%)
HSVhsv(71, 82%, 36%)
CMYKcmyk(15.1%, 0%, 81.7%, 63.5%)
CIE-LABlab(36.99, -16.44, 38.69)
CIE-LCHlch(36.99, 42.04, 113.03°)
OKLaboklab(45.12% -0.0489 0.0852)
OKLCHoklch(45.12% 0.098 119.9)
XYZxyz(7.2401, 9.5315, 1.9885)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5D11 #1F115D
analogous
#5D4511 #4F5D11 #295D11
triadic
#4F5D11 #114F5D #5D114F
tetradic
#4F5D11 #115D45 #1F115D #5D1129
square
#4F5D11 #115D45 #1F115D #5D1129
split-complementary
#4F5D11 #11295D #45115D
monochromatic
#161A05 #232908 #4F5D11 #7B911A #A7C424

Accessibility & contrast

On white

7.23
#4F5D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4F5D11
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5D11#FFFFFF#000000##FFFFFF
##4F5D111.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5d11;
/* rgb */ color: rgb(79, 93, 17);
/* oklch */ color: oklch(45.1% 0.098 119.9);
Tailwind
colors: {
  custom: {
    50: '#838a56',
    500: '#4f5d11',
    950: '#000000',
  },
}
SCSS
$custom: #4f5d11;
$custom-light: #838a56;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5d11",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 71.053,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.09822,
    "h": 119.9
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#4F5D11
secondary
#463496
accent
#3CEC5C
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4F5D11

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

Preview Lab → · Contrast checker → · Palette generator →

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