#3A5F10#3A5F10

#3A5F10 is a dark, moderate yellow-green. Relative luminance 0.091; OKLCH L 44.1% C 0.113 H 132.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3A5F10
RGBrgb(58, 95, 16)
HSLhsl(88, 71%, 22%)
HSVhsv(88, 83%, 37%)
CMYKcmyk(38.9%, 0%, 83.2%, 62.7%)
CIE-LABlab(36.22, -26.76, 37.81)
CIE-LCHlch(36.22, 46.32, 125.29°)
OKLaboklab(44.12% -0.0757 0.0837)
OKLCHoklch(44.12% 0.113 132.1)
XYZxyz(5.9306, 9.1211, 1.9382)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5F10 #35105F
analogous
#5F5D10 #3A5F10 #135F10
triadic
#3A5F10 #103A5F #5F103A
tetradic
#3A5F10 #105F5D #35105F #5F1013
square
#3A5F10 #105F5D #35105F #5F1013
split-complementary
#3A5F10 #10135F #5D105F
monochromatic
#101A04 #1A2B07 #3A5F10 #5A9319 #7AC822

Accessibility & contrast

On white

7.44
#3A5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3A5F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5F10
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5F10#FFFFFF#000000##FFFFFF
##3A5F101.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#3B5B50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a5f10;
/* rgb */ color: rgb(58, 95, 16);
/* oklch */ color: oklch(44.1% 0.113 132.1);
Tailwind
colors: {
  custom: {
    50: '#748c56',
    500: '#3a5f10',
    950: '#000000',
  },
}
SCSS
$custom: #3a5f10;
$custom-light: #748c56;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5f10",
  "rgb": {
    "r": 58,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 88.101,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.44117,
    "c": 0.11288,
    "h": 132.1
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#3A5F10
secondary
#623398
accent
#3AEE8E
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #3A5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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