#3B500F#3B500F

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

Color values

HEX#3B500F
RGBrgb(59, 80, 15)
HSLhsl(79, 68%, 19%)
HSVhsv(79, 81%, 31%)
CMYKcmyk(26.2%, 0%, 81.3%, 68.6%)
CIE-LABlab(31.12, -18.81, 33.35)
CIE-LCHlch(31.12, 38.29, 119.43°)
OKLaboklab(39.98% -0.0543 0.0742)
OKLCHoklch(39.98% 0.092 126.2)
XYZxyz(4.7585, 6.7015, 1.4947)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B500F #240F50
analogous
#50440F #3B500F #1A500F
triadic
#3B500F #0F3B50 #500F3B
tetradic
#3B500F #0F5044 #240F50 #500F1A
square
#3B500F #0F5044 #240F50 #500F1A
split-complementary
#3B500F #0F1A50 #440F50
monochromatic
#131A05 #151C05 #3B500F #618419 #87B722

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B500F#FFFFFF#000000##FFFFFF
##3B500F1.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)
#554A03
Deuteranopia (green-blind)
#524915
Tritanopia (blue-blind)
#3E4C44
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3b500f;
/* rgb */ color: rgb(59, 80, 15);
/* oklch */ color: oklch(40.0% 0.092 126.2);
Tailwind
colors: {
  custom: {
    50: '#738153',
    500: '#3b500f',
    950: '#000000',
  },
}
SCSS
$custom: #3b500f;
$custom-light: #738153;
$custom-dark: #000000;
JSON
{
  "hex": "#3b500f",
  "rgb": {
    "r": 59,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 79.385,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39981,
    "c": 0.09191,
    "h": 126.2
  },
  "luminance": 0.06702
}

Semantic roles & 50–950 ramp

primary
#3B500F
secondary
#4E318A
accent
#3DEB75
background
#F7F7F4
surface
#EDEEE7
border
#C8C9C3
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3B500F

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

Preview Lab → · Contrast checker → · Palette generator →

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