#3A5B15#3A5B15

#3A5B15 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.104 H 131.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#3A5B15
RGBrgb(58, 91, 21)
HSLhsl(88, 63%, 22%)
HSVhsv(88, 77%, 36%)
CMYKcmyk(36.3%, 0%, 76.9%, 64.3%)
CIE-LABlab(34.87, -24.48, 34.58)
CIE-LCHlch(34.87, 42.37, 125.29°)
OKLaboklab(43.03% -0.0691 0.0778)
OKLCHoklch(43.03% 0.104 131.6)
XYZxyz(5.6213, 8.4356, 2.0414)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5B15 #36155B
analogous
#5B5915 #3A5B15 #175B15
triadic
#3A5B15 #153A5B #5B153A
tetradic
#3A5B15 #155B59 #36155B #5B1517
square
#3A5B15 #155B59 #36155B #5B1517
split-complementary
#3A5B15 #15175B #59155B
monochromatic
#101906 #1A290A #3A5B15 #5A8D20 #79BE2C

Accessibility & contrast

On white

7.81
#3A5B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3A5B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5B15
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5B15#FFFFFF#000000##FFFFFF
##3A5B151.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5409
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#3B574D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a5b15;
/* rgb */ color: rgb(58, 91, 21);
/* oklch */ color: oklch(43.0% 0.104 131.6);
Tailwind
colors: {
  custom: {
    50: '#738957',
    500: '#3a5b15',
    950: '#000000',
  },
}
SCSS
$custom: #3a5b15;
$custom-light: #738957;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5b15",
  "rgb": {
    "r": 58,
    "g": 91,
    "b": 21
  },
  "hsl": {
    "h": 88.286,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43032,
    "c": 0.10409,
    "h": 131.6
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#3A5B15
secondary
#633992
accent
#42E68F
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5B15

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

Preview Lab → · Contrast checker → · Palette generator →

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