#3B8513#3B8513

#3B8513 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 54.8% C 0.160 H 137.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3B8513
RGBrgb(59, 133, 19)
HSLhsl(99, 75%, 30%)
HSVhsv(99, 86%, 52%)
CMYKcmyk(55.6%, 0%, 85.7%, 47.8%)
CIE-LABlab(49.19, -42.56, 48.82)
CIE-LCHlch(49.19, 64.76, 131.08°)
OKLaboklab(54.8% -0.118 0.1073)
OKLCHoklch(54.8% 0.16 137.7)
XYZxyz(10.3084, 17.7511, 3.4991)
Luminance0.1775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B8513 #5D1385
analogous
#748513 #3B8513 #138524
triadic
#3B8513 #133B85 #85133B
tetradic
#3B8513 #137485 #5D1385 #852413
square
#3B8513 #137485 #5D1385 #852413
split-complementary
#3B8513 #241385 #851374
monochromatic
#0C1B04 #234F0B #3B8513 #53BB1B #6FE231

Accessibility & contrast

On white

4.61
#3B8513 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3B8513 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3B8513
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B8513#FFFFFF#000000##FFFFFF
##3B85131.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#358071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3b8513;
/* rgb */ color: rgb(59, 133, 19);
/* oklch */ color: oklch(54.8% 0.160 137.7);
Tailwind
colors: {
  custom: {
    50: '#7aa95d',
    500: '#3b8513',
    950: '#000000',
  },
}
SCSS
$custom: #3b8513;
$custom-light: #7aa95d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b8513",
  "rgb": {
    "r": 59,
    "g": 133,
    "b": 19
  },
  "hsl": {
    "h": 98.947,
    "s": 75,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54795,
    "c": 0.15951,
    "h": 137.7
  },
  "luminance": 0.17752
}

Semantic roles & 50–950 ramp

primary
#3B8513
secondary
#8D3ABA
accent
#36F2B0
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3B8513

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

Preview Lab → · Contrast checker → · Palette generator →

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