#3C5A0F#3C5A0F

#3C5A0F is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.8% C 0.105 H 129.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3C5A0F
RGBrgb(60, 90, 15)
HSLhsl(84, 71%, 21%)
HSVhsv(84, 83%, 35%)
CMYKcmyk(33.3%, 0%, 83.3%, 64.7%)
CIE-LABlab(34.61, -23.54, 36.70)
CIE-LCHlch(34.61, 43.60, 122.68°)
OKLaboklab(42.84% -0.0672 0.0812)
OKLCHoklch(42.84% 0.105 129.6)
XYZxyz(5.6058, 8.3073, 1.7600)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5A0F #2D0F5A
analogous
#5A520F #3C5A0F #165A0F
triadic
#3C5A0F #0F3C5A #5A0F3C
tetradic
#3C5A0F #0F5A52 #2D0F5A #5A0F16
square
#3C5A0F #0F5A52 #2D0F5A #5A0F16
split-complementary
#3C5A0F #0F165A #520F5A
monochromatic
#111A04 #192606 #3C5A0F #5F8E18 #82C320

Accessibility & contrast

On white

7.89
#3C5A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3C5A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C5A0F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5A0F#FFFFFF#000000##FFFFFF
##3C5A0F1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5B5117
Tritanopia (blue-blind)
#3E564C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3c5a0f;
/* rgb */ color: rgb(60, 90, 15);
/* oklch */ color: oklch(42.8% 0.105 129.6);
Tailwind
colors: {
  custom: {
    50: '#758954',
    500: '#3c5a0f',
    950: '#000000',
  },
}
SCSS
$custom: #3c5a0f;
$custom-light: #758954;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5a0f",
  "rgb": {
    "r": 60,
    "g": 90,
    "b": 15
  },
  "hsl": {
    "h": 84,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42841,
    "c": 0.10539,
    "h": 129.6
  },
  "luminance": 0.08307
}

Semantic roles & 50–950 ramp

primary
#3C5A0F
secondary
#593194
accent
#3AEE82
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3C5A0F

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

Preview Lab → · Contrast checker → · Palette generator →

#3C5A0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva