#4D5A0C#4D5A0C

#4D5A0C is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 44.1% C 0.098 H 119.3°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4D5A0C
RGBrgb(77, 90, 12)
HSLhsl(70, 76%, 20%)
HSVhsv(70, 87%, 35%)
CMYKcmyk(14.4%, 0%, 86.7%, 64.7%)
CIE-LABlab(35.82, -15.98, 39.25)
CIE-LCHlch(35.82, 42.38, 112.15°)
OKLaboklab(44.13% -0.048 0.0855)
OKLCHoklch(44.13% 0.098 119.3)
XYZxyz(6.7832, 8.9167, 1.7115)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5A0C #190C5A
analogous
#5A400C #4D5A0C #265A0C
triadic
#4D5A0C #0C4D5A #5A0C4D
tetradic
#4D5A0C #0C5A40 #190C5A #5A0C26
square
#4D5A0C #0C5A40 #190C5A #5A0C26
split-complementary
#4D5A0C #0C265A #400C5A
monochromatic
#171B04 #1F2405 #4D5A0C #7B9013 #A9C61A

Accessibility & contrast

On white

7.54
#4D5A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4D5A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D5A0C
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5A0C#FFFFFF#000000##FFFFFF
##4D5A0C1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5F5414
Tritanopia (blue-blind)
#52554C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d5a0c;
/* rgb */ color: rgb(77, 90, 12);
/* oklch */ color: oklch(44.1% 0.098 119.3);
Tailwind
colors: {
  custom: {
    50: '#828854',
    500: '#4d5a0c',
    950: '#000000',
  },
}
SCSS
$custom: #4d5a0c;
$custom-light: #828854;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5a0c",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 12
  },
  "hsl": {
    "h": 70,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.44131,
    "c": 0.098,
    "h": 119.3
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#4D5A0C
secondary
#3E2D95
accent
#35F354
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #4D5A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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