#3A5810#3A5810

#3A5810 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.2% C 0.103 H 130.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3A5810
RGBrgb(58, 88, 16)
HSLhsl(85, 69%, 20%)
HSVhsv(85, 82%, 35%)
CMYKcmyk(34.1%, 0%, 81.8%, 65.5%)
CIE-LABlab(33.81, -23.33, 35.52)
CIE-LCHlch(33.81, 42.50, 123.29°)
OKLaboklab(42.15% -0.0664 0.0789)
OKLCHoklch(42.15% 0.103 130.1)
XYZxyz(5.3281, 7.9162, 1.7374)
Luminance0.0792 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5810 #2E1058
analogous
#585210 #3A5810 #165810
triadic
#3A5810 #103A58 #58103A
tetradic
#3A5810 #105852 #2E1058 #581016
square
#3A5810 #105852 #2E1058 #581016
split-complementary
#3A5810 #101658 #521058
monochromatic
#111A05 #182407 #3A5810 #5C8C19 #7EC023

Accessibility & contrast

On white

8.13
#3A5810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3A5810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A5810
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5810#FFFFFF#000000##FFFFFF
##3A58101.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5102
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#3C544A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a5810;
/* rgb */ color: rgb(58, 88, 16);
/* oklch */ color: oklch(42.2% 0.103 130.1);
Tailwind
colors: {
  custom: {
    50: '#738755',
    500: '#3a5810',
    950: '#000000',
  },
}
SCSS
$custom: #3a5810;
$custom-light: #738755;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5810",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 85,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42152,
    "c": 0.10317,
    "h": 130.1
  },
  "luminance": 0.07916
}

Semantic roles & 50–950 ramp

primary
#3A5810
secondary
#5A3291
accent
#3CEC85
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3A5810

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

Preview Lab → · Contrast checker → · Palette generator →

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