#3A5D17#3A5D17

#3A5D17 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.6% C 0.106 H 132.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3A5D17
RGBrgb(58, 93, 23)
HSLhsl(90, 60%, 23%)
HSVhsv(90, 75%, 36%)
CMYKcmyk(37.6%, 0%, 75.3%, 63.5%)
CIE-LABlab(35.58, -25.31, 34.45)
CIE-LCHlch(35.58, 42.74, 126.30°)
OKLaboklab(43.61% -0.0712 0.0779)
OKLCHoklch(43.61% 0.106 132.4)
XYZxyz(5.8139, 8.7899, 2.2007)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5D17 #3A175D
analogous
#5D5D17 #3A5D17 #175D17
triadic
#3A5D17 #173A5D #5D173A
tetradic
#3A5D17 #175D5D #3A175D #5D1717
square
#3A5D17 #175D5D #3A175D #5D1717
split-complementary
#3A5D17 #17175D #5D175D
monochromatic
#0F1906 #1B2C0B #3A5D17 #598E23 #77BF2F

Accessibility & contrast

On white

7.61
#3A5D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3A5D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5D17
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5D17#FFFFFF#000000##FFFFFF
##3A5D171.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61550C
Deuteranopia (green-blind)
#5C531D
Tritanopia (blue-blind)
#3B594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a5d17;
/* rgb */ color: rgb(58, 93, 23);
/* oklch */ color: oklch(43.6% 0.106 132.4);
Tailwind
colors: {
  custom: {
    50: '#738b59',
    500: '#3a5d17',
    950: '#000000',
  },
}
SCSS
$custom: #3a5d17;
$custom-light: #738b59;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5d17",
  "rgb": {
    "r": 58,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.4361,
    "c": 0.10551,
    "h": 132.4
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#3A5D17
secondary
#683C94
accent
#44E394
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #3A5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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