#4D5F16#4D5F16

#4D5F16 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.5% C 0.099 H 122.6°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4D5F16
RGBrgb(77, 95, 22)
HSLhsl(75, 62%, 23%)
HSVhsv(75, 77%, 37%)
CMYKcmyk(18.9%, 0%, 76.8%, 62.7%)
CIE-LABlab(37.52, -18.17, 37.23)
CIE-LCHlch(37.52, 41.42, 116.01°)
OKLaboklab(45.52% -0.0531 0.0831)
OKLCHoklch(45.52% 0.099 122.6)
XYZxyz(7.2977, 9.8201, 2.2699)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5F16 #28165F
analogous
#5F4C16 #4D5F16 #285F16
triadic
#4D5F16 #164D5F #5F164D
tetradic
#4D5F16 #165F4C #28165F #5F1628
square
#4D5F16 #165F4C #28165F #5F1628
split-complementary
#4D5F16 #16285F #4C165F
monochromatic
#141906 #252D0A #4D5F16 #759122 #9EC22D

Accessibility & contrast

On white

7.09
#4D5F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4D5F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5F16
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5F16#FFFFFF#000000##FFFFFF
##4D5F161.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655909
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#515A51
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d5f16;
/* rgb */ color: rgb(77, 95, 22);
/* oklch */ color: oklch(45.5% 0.099 122.6);
Tailwind
colors: {
  custom: {
    50: '#818c59',
    500: '#4d5f16',
    950: '#000000',
  },
}
SCSS
$custom: #4d5f16;
$custom-light: #818c59;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5f16",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 74.795,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.45516,
    "c": 0.09858,
    "h": 122.6
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

primary
#4D5F16
secondary
#513B96
accent
#42E56B
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C04
muted
#7C7D79

Preview Lab

Preview with #4D5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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