#3F6210#3F6210

#3F6210 is a mid, moderate yellow-green. Relative luminance 0.098; OKLCH L 45.3% C 0.114 H 130.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#3F6210
RGBrgb(63, 98, 16)
HSLhsl(86, 72%, 22%)
HSVhsv(86, 84%, 38%)
CMYKcmyk(35.7%, 0%, 83.7%, 61.6%)
CIE-LABlab(37.53, -26.17, 39.14)
CIE-LCHlch(37.53, 47.08, 123.76°)
OKLaboklab(45.27% -0.0744 0.0864)
OKLCHoklch(45.27% 0.114 130.7)
XYZxyz(6.5111, 9.8293, 2.0443)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6210 #331062
analogous
#625C10 #3F6210 #166210
triadic
#3F6210 #103F62 #62103F
tetradic
#3F6210 #10625C #331062 #621016
square
#3F6210 #10625C #331062 #621016
split-complementary
#3F6210 #101662 #5C1062
monochromatic
#111A04 #1D2D07 #3F6210 #619719 #83CB21

Accessibility & contrast

On white

7.08
#3F6210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3F6210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F6210
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6210#FFFFFF#000000##FFFFFF
##3F62101.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675A00
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#415D53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f6210;
/* rgb */ color: rgb(63, 98, 16);
/* oklch */ color: oklch(45.3% 0.114 130.7);
Tailwind
colors: {
  custom: {
    50: '#788f56',
    500: '#3f6210',
    950: '#000000',
  },
}
SCSS
$custom: #3f6210;
$custom-light: #788f56;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6210",
  "rgb": {
    "r": 63,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 85.61,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.11406,
    "h": 130.7
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#3F6210
secondary
#5F339B
accent
#39EF87
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3F6210

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

Preview Lab → · Contrast checker → · Palette generator →

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