#3B510C#3B510C

#3B510C is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.095 H 126.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3B510C
RGBrgb(59, 81, 12)
HSLhsl(79, 74%, 18%)
HSVhsv(79, 85%, 32%)
CMYKcmyk(27.2%, 0%, 85.2%, 68.2%)
CIE-LABlab(31.44, -19.52, 34.78)
CIE-LCHlch(31.44, 39.88, 119.30°)
OKLaboklab(40.24% -0.0565 0.0766)
OKLCHoklch(40.24% 0.095 126.4)
XYZxyz(4.8125, 6.8411, 1.4147)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B510C #220C51
analogous
#51440C #3B510C #18510C
triadic
#3B510C #0C3B51 #510C3B
tetradic
#3B510C #0C5144 #220C51 #510C18
square
#3B510C #0C5144 #220C51 #510C18
split-complementary
#3B510C #0C1851 #440C51
monochromatic
#131B04 #141C04 #3B510C #628614 #89BC1C

Accessibility & contrast

On white

8.87
#3B510C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3B510C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B510C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B510C#FFFFFF#000000##FFFFFF
##3B510C1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#534A13
Tritanopia (blue-blind)
#3E4D44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b510c;
/* rgb */ color: rgb(59, 81, 12);
/* oklch */ color: oklch(40.2% 0.095 126.4);
Tailwind
colors: {
  custom: {
    50: '#748252',
    500: '#3b510c',
    950: '#000000',
  },
}
SCSS
$custom: #3b510c;
$custom-light: #748252;
$custom-dark: #000000;
JSON
{
  "hex": "#3b510c",
  "rgb": {
    "r": 59,
    "g": 81,
    "b": 12
  },
  "hsl": {
    "h": 79.13,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.09519,
    "h": 126.4
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#3B510C
secondary
#4B2C8C
accent
#37F172
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A02
muted
#7B7C78

Preview Lab

Preview with #3B510C

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

Preview Lab → · Contrast checker → · Palette generator →

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