#3B8215#3B8215

#3B8215 is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.0% C 0.155 H 137.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3B8215
RGBrgb(59, 130, 21)
HSLhsl(99, 72%, 30%)
HSVhsv(99, 84%, 51%)
CMYKcmyk(54.6%, 0%, 83.8%, 49%)
CIE-LABlab(48.20, -41.28, 47.35)
CIE-LCHlch(48.20, 62.81, 131.09°)
OKLaboklab(53.97% -0.1145 0.1045)
OKLCHoklch(53.97% 0.155 137.6)
XYZxyz(9.9213, 16.9484, 3.4579)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8215 #5C1582
analogous
#718215 #3B8215 #158226
triadic
#3B8215 #153B82 #82153B
tetradic
#3B8215 #157182 #5C1582 #822615
square
#3B8215 #157182 #5C1582 #822615
split-complementary
#3B8215 #261582 #821571
monochromatic
#0C1A04 #234D0C #3B8215 #53B71E #6FDE33

Accessibility & contrast

On white

4.78
#3B8215 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#3B8215 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B8215
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8215#FFFFFF#000000##FFFFFF
##3B82151.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#367D6E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #3b8215;
/* rgb */ color: rgb(59, 130, 21);
/* oklch */ color: oklch(54.0% 0.155 137.6);
Tailwind
colors: {
  custom: {
    50: '#79a75d',
    500: '#3b8215',
    950: '#000000',
  },
}
SCSS
$custom: #3b8215;
$custom-light: #79a75d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8215",
  "rgb": {
    "r": 59,
    "g": 130,
    "b": 21
  },
  "hsl": {
    "h": 99.083,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53975,
    "c": 0.15502,
    "h": 137.6
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#3B8215
secondary
#8C3CB7
accent
#39EFAF
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3B8215

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

Preview Lab → · Contrast checker → · Palette generator →

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