#3F7210#3F7210

#3F7210 is a mid, vivid yellow-green. Relative luminance 0.131; OKLCH L 49.7% C 0.135 H 134.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3F7210
RGBrgb(63, 114, 16)
HSLhsl(91, 75%, 25%)
HSVhsv(91, 86%, 45%)
CMYKcmyk(44.7%, 0%, 86%, 55.3%)
CIE-LABlab(42.96, -33.54, 44.10)
CIE-LCHlch(42.96, 55.41, 127.26°)
OKLaboklab(49.71% -0.0943 0.0969)
OKLCHoklch(49.71% 0.135 134.2)
XYZxyz(8.1606, 13.1283, 2.5941)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7210 #431072
analogous
#707210 #3F7210 #107212
triadic
#3F7210 #103F72 #72103F
tetradic
#3F7210 #107072 #431072 #721210
square
#3F7210 #107072 #431072 #721210
split-complementary
#3F7210 #121072 #721070
monochromatic
#0F1B04 #213C08 #3F7210 #5DA818 #7ADD1F

Accessibility & contrast

On white

5.79
#3F7210 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3F7210 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7210
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7210#FFFFFF#000000##FFFFFF
##3F72101.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#70641C
Tritanopia (blue-blind)
#3E6D60
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f7210;
/* rgb */ color: rgb(63, 114, 16);
/* oklch */ color: oklch(49.7% 0.135 134.2);
Tailwind
colors: {
  custom: {
    50: '#7a9b59',
    500: '#3f7210',
    950: '#000000',
  },
}
SCSS
$custom: #3f7210;
$custom-light: #7a9b59;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7210",
  "rgb": {
    "r": 63,
    "g": 114,
    "b": 16
  },
  "hsl": {
    "h": 91.224,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49707,
    "c": 0.13518,
    "h": 134.2
  },
  "luminance": 0.13129
}

Semantic roles & 50–950 ramp

primary
#3F7210
secondary
#7134A9
accent
#36F298
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0E04
muted
#7C7E79

Preview Lab

Preview with #3F7210

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

Preview Lab → · Contrast checker → · Palette generator →

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