#3A5010#3A5010

#3A5010 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.9% C 0.092 H 127.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#3A5010
RGBrgb(58, 80, 16)
HSLhsl(81, 67%, 19%)
HSVhsv(81, 80%, 31%)
CMYKcmyk(27.5%, 0%, 80%, 68.6%)
CIE-LABlab(31.05, -19.20, 32.86)
CIE-LCHlch(31.05, 38.06, 120.30°)
OKLaboklab(39.91% -0.0552 0.0734)
OKLCHoklch(39.91% 0.092 127)
XYZxyz(4.7071, 6.6742, 1.5304)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5010 #261050
analogous
#504610 #3A5010 #1A5010
triadic
#3A5010 #103A50 #50103A
tetradic
#3A5010 #105046 #261050 #50101A
square
#3A5010 #105046 #261050 #50101A
split-complementary
#3A5010 #101A50 #461050
monochromatic
#121A05 #151D06 #3A5010 #5F831A #84B624

Accessibility & contrast

On white

8.99
#3A5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3A5010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5010
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5010#FFFFFF#000000##FFFFFF
##3A50101.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A05
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#3D4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a5010;
/* rgb */ color: rgb(58, 80, 16);
/* oklch */ color: oklch(39.9% 0.092 127.0);
Tailwind
colors: {
  custom: {
    50: '#738153',
    500: '#3a5010',
    950: '#000000',
  },
}
SCSS
$custom: #3a5010;
$custom-light: #738153;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5010",
  "rgb": {
    "r": 58,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 80.625,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.0918,
    "h": 127
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#3A5010
secondary
#50328A
accent
#3EEA79
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3A5010

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

Preview Lab → · Contrast checker → · Palette generator →

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