#3D5812#3D5812

#3D5812 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.100 H 128.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3D5812
RGBrgb(61, 88, 18)
HSLhsl(83, 66%, 21%)
HSVhsv(83, 80%, 35%)
CMYKcmyk(30.7%, 0%, 79.5%, 65.5%)
CIE-LABlab(34.01, -21.91, 35.02)
CIE-LCHlch(34.01, 41.31, 122.03°)
OKLaboklab(42.38% -0.0626 0.0782)
OKLCHoklch(42.38% 0.1 128.7)
XYZxyz(5.5234, 8.0151, 1.8282)
Luminance0.0801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5812 #2D1258
analogous
#585012 #3D5812 #1A5812
triadic
#3D5812 #123D58 #58123D
tetradic
#3D5812 #125850 #2D1258 #58121A
square
#3D5812 #125850 #2D1258 #58121A
split-complementary
#3D5812 #121A58 #501258
monochromatic
#121905 #1A2508 #3D5812 #608B1C #83BE27

Accessibility & contrast

On white

8.07
#3D5812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3D5812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5812
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5812#FFFFFF#000000##FFFFFF
##3D58121.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#3F544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d5812;
/* rgb */ color: rgb(61, 88, 18);
/* oklch */ color: oklch(42.4% 0.100 128.7);
Tailwind
colors: {
  custom: {
    50: '#758756',
    500: '#3d5812',
    950: '#000000',
  },
}
SCSS
$custom: #3d5812;
$custom-light: #758756;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5812",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 83.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42375,
    "c": 0.10014,
    "h": 128.7
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#3D5812
secondary
#583591
accent
#3FE980
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3D5812

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

Preview Lab → · Contrast checker → · Palette generator →

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