#3B7210#3B7210

#3B7210 is a mid, vivid yellow-green. Relative luminance 0.130; OKLCH L 49.5% C 0.137 H 135.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3B7210
RGBrgb(59, 114, 16)
HSLhsl(94, 75%, 25%)
HSVhsv(94, 86%, 45%)
CMYKcmyk(48.2%, 0%, 86%, 55.3%)
CIE-LABlab(42.77, -34.96, 43.86)
CIE-LCHlch(42.77, 56.09, 128.56°)
OKLaboklab(49.5% -0.0978 0.0964)
OKLCHoklch(49.5% 0.137 135.4)
XYZxyz(7.9143, 13.0013, 2.5826)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7210 #471072
analogous
#6C7210 #3B7210 #107216
triadic
#3B7210 #103B72 #72103B
tetradic
#3B7210 #106C72 #471072 #721610
square
#3B7210 #106C72 #471072 #721610
split-complementary
#3B7210 #161072 #72106C
monochromatic
#0E1B04 #1F3C08 #3B7210 #57A818 #73DD1F

Accessibility & contrast

On white

5.83
#3B7210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3B7210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7210
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7210#FFFFFF#000000##FFFFFF
##3B72101.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6F631C
Tritanopia (blue-blind)
#396D60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3b7210;
/* rgb */ color: rgb(59, 114, 16);
/* oklch */ color: oklch(49.5% 0.137 135.4);
Tailwind
colors: {
  custom: {
    50: '#779b59',
    500: '#3b7210',
    950: '#000000',
  },
}
SCSS
$custom: #3b7210;
$custom-light: #779b59;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7210",
  "rgb": {
    "r": 59,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 93.673,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.13736,
    "h": 135.4
  },
  "luminance": 0.13002
}

Semantic roles & 50–950 ramp

primary
#3B7210
secondary
#7634A9
accent
#36F29F
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3B7210

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

Preview Lab → · Contrast checker → · Palette generator →

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