#3B751B#3B751B

#3B751B is a mid, vivid yellow-green. Relative luminance 0.137; OKLCH L 50.4% C 0.135 H 136.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#3B751B
RGBrgb(59, 117, 27)
HSLhsl(99, 63%, 28%)
HSVhsv(99, 77%, 46%)
CMYKcmyk(49.6%, 0%, 76.9%, 54.1%)
CIE-LABlab(43.84, -35.57, 41.16)
CIE-LCHlch(43.84, 54.40, 130.83°)
OKLaboklab(50.41% -0.0987 0.0925)
OKLCHoklch(50.41% 0.135 136.9)
XYZxyz(8.3625, 13.7310, 3.2464)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B751B #551B75
analogous
#68751B #3B751B #1B7528
triadic
#3B751B #1B3B75 #751B3B
tetradic
#3B751B #1B6875 #551B75 #75281B
square
#3B751B #1B6875 #551B75 #75281B
split-complementary
#3B751B #281B75 #751B68
monochromatic
#0D1906 #224310 #3B751B #54A726 #6FD139

Accessibility & contrast

On white

5.61
#3B751B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3B751B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B751B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B751B#FFFFFF#000000##FFFFFF
##3B751B1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B09
Deuteranopia (green-blind)
#716624
Tritanopia (blue-blind)
#387164
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3b751b;
/* rgb */ color: rgb(59, 117, 27);
/* oklch */ color: oklch(50.4% 0.135 136.9);
Tailwind
colors: {
  custom: {
    50: '#779d5e',
    500: '#3b751b',
    950: '#000000',
  },
}
SCSS
$custom: #3b751b;
$custom-light: #779d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b751b",
  "rgb": {
    "r": 59,
    "g": 117,
    "b": 27
  },
  "hsl": {
    "h": 98.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50405,
    "c": 0.13531,
    "h": 136.9
  },
  "luminance": 0.13732
}

Semantic roles & 50–950 ramp

primary
#3B751B
secondary
#8542A9
accent
#42E6AB
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3B751B

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

Preview Lab → · Contrast checker → · Palette generator →

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