#4D5F0E#4D5F0E

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

Color values

HEX#4D5F0E
RGBrgb(77, 95, 14)
HSLhsl(73, 74%, 21%)
HSVhsv(73, 85%, 37%)
CMYKcmyk(18.9%, 0%, 85.3%, 62.7%)
CIE-LABlab(37.47, -18.60, 40.09)
CIE-LCHlch(37.47, 44.19, 114.89°)
OKLaboklab(45.46% -0.055 0.0876)
OKLCHoklch(45.46% 0.103 122.1)
XYZxyz(7.2322, 9.7939, 1.9248)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5F0E #200E5F
analogous
#5F490E #4D5F0E #255F0E
triadic
#4D5F0E #0E4D5F #5F0E4D
tetradic
#4D5F0E #0E5F49 #200E5F #5F0E25
square
#4D5F0E #0E5F49 #200E5F #5F0E25
split-complementary
#4D5F0E #0E255F #490E5F
monochromatic
#161B04 #222A06 #4D5F0E #789416 #A3CA1E

Accessibility & contrast

On white

7.10
#4D5F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D5F0E
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5F0E#FFFFFF#000000##FFFFFF
##4D5F0E1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#525A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d5f0e;
/* rgb */ color: rgb(77, 95, 14);
/* oklch */ color: oklch(45.5% 0.103 122.1);
Tailwind
colors: {
  custom: {
    50: '#828c55',
    500: '#4d5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #4d5f0e;
$custom-light: #828c55;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5f0e",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 73.333,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45463,
    "c": 0.10344,
    "h": 122.1
  },
  "luminance": 0.09794
}

Semantic roles & 50–950 ramp

primary
#4D5F0E
secondary
#473099
accent
#37F160
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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