#3B510F#3B510F

#3B510F is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.3% C 0.093 H 126.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3B510F
RGBrgb(59, 81, 15)
HSLhsl(80, 69%, 19%)
HSVhsv(80, 81%, 32%)
CMYKcmyk(27.2%, 0%, 81.5%, 68.2%)
CIE-LABlab(31.46, -19.34, 33.68)
CIE-LCHlch(31.46, 38.84, 119.87°)
OKLaboklab(40.26% -0.0557 0.0749)
OKLCHoklch(40.26% 0.093 126.7)
XYZxyz(4.8323, 6.8491, 1.5193)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B510F #250F51
analogous
#51460F #3B510F #1A510F
triadic
#3B510F #0F3B51 #510F3B
tetradic
#3B510F #0F5146 #250F51 #510F1A
square
#3B510F #0F5146 #250F51 #510F1A
split-complementary
#3B510F #0F1A51 #460F51
monochromatic
#131A05 #151D05 #3B510F #618519 #86B822

Accessibility & contrast

On white

8.86
#3B510F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B510F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B510F#FFFFFF#000000##FFFFFF
##3B510F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b510f;
/* rgb */ color: rgb(59, 81, 15);
/* oklch */ color: oklch(40.3% 0.093 126.7);
Tailwind
colors: {
  custom: {
    50: '#748253',
    500: '#3b510f',
    950: '#000000',
  },
}
SCSS
$custom: #3b510f;
$custom-light: #748253;
$custom-dark: #000000;
JSON
{
  "hex": "#3b510f",
  "rgb": {
    "r": 59,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 80,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40259,
    "c": 0.09334,
    "h": 126.7
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#3B510F
secondary
#4F318B
accent
#3CEC77
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3B510F

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

Preview Lab → · Contrast checker → · Palette generator →

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