#4D5F0C#4D5F0C

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

Color values

HEX#4D5F0C
RGBrgb(77, 95, 12)
HSLhsl(73, 78%, 21%)
HSVhsv(73, 87%, 37%)
CMYKcmyk(18.9%, 0%, 87.4%, 62.7%)
CIE-LABlab(37.46, -18.68, 40.69)
CIE-LCHlch(37.46, 44.78, 114.66°)
OKLaboklab(45.45% -0.0553 0.0885)
OKLCHoklch(45.45% 0.104 122)
XYZxyz(7.2193, 9.7887, 1.8568)
Luminance0.0979 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5F0C #1E0C5F
analogous
#5F470C #4D5F0C #235F0C
triadic
#4D5F0C #0C4D5F #5F0C4D
tetradic
#4D5F0C #0C5F47 #1E0C5F #5F0C23
square
#4D5F0C #0C5F47 #1E0C5F #5F0C23
split-complementary
#4D5F0C #0C235F #470C5F
monochromatic
#161B03 #212905 #4D5F0C #799513 #A5CC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D5F0C#FFFFFF#000000##FFFFFF
##4D5F0C1.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)
#635815
Tritanopia (blue-blind)
#525A50
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4d5f0c;
/* rgb */ color: rgb(77, 95, 12);
/* oklch */ color: oklch(45.5% 0.104 122.0);
Tailwind
colors: {
  custom: {
    50: '#828c54',
    500: '#4d5f0c',
    950: '#000000',
  },
}
SCSS
$custom: #4d5f0c;
$custom-light: #828c54;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5f0c",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 12
  },
  "hsl": {
    "h": 73.012,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45452,
    "c": 0.10442,
    "h": 122
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#4D5F0C
secondary
#452D99
accent
#34F45D
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0C03
muted
#7C7D78

Preview Lab

Preview with #4D5F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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