#3B5010#3B5010

#3B5010 is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 40.0% C 0.091 H 126.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#3B5010
RGBrgb(59, 80, 16)
HSLhsl(80, 67%, 19%)
HSVhsv(80, 80%, 31%)
CMYKcmyk(26.2%, 0%, 80%, 68.6%)
CIE-LABlab(31.12, -18.75, 32.95)
CIE-LCHlch(31.12, 37.91, 119.64°)
OKLaboklab(39.99% -0.054 0.0735)
OKLCHoklch(39.99% 0.091 126.3)
XYZxyz(4.7658, 6.7045, 1.5331)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B5010 #251050
analogous
#504510 #3B5010 #1B5010
triadic
#3B5010 #103B50 #50103B
tetradic
#3B5010 #105045 #251050 #50101B
square
#3B5010 #105045 #251050 #50101B
split-complementary
#3B5010 #101B50 #451050
monochromatic
#131A05 #151D06 #3B5010 #61831A #86B624

Accessibility & contrast

On white

8.97
#3B5010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3B5010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B5010
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B5010#FFFFFF#000000##FFFFFF
##3B50101.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b5010;
/* rgb */ color: rgb(59, 80, 16);
/* oklch */ color: oklch(40.0% 0.091 126.3);
Tailwind
colors: {
  custom: {
    50: '#738153',
    500: '#3b5010',
    950: '#000000',
  },
}
SCSS
$custom: #3b5010;
$custom-light: #738153;
$custom-dark: #000000;
JSON
{
  "hex": "#3b5010",
  "rgb": {
    "r": 59,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 79.688,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.09124,
    "h": 126.3
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#3B5010
secondary
#4F328A
accent
#3EEA76
background
#F7F7F4
surface
#EDEEE8
border
#C8C9C4
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3B5010

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

Preview Lab → · Contrast checker → · Palette generator →

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