#3F6A12#3F6A12

#3F6A12 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.5% C 0.124 H 132.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#3F6A12
RGBrgb(63, 106, 18)
HSLhsl(89, 71%, 24%)
HSVhsv(89, 83%, 42%)
CMYKcmyk(40.6%, 0%, 83%, 58.4%)
CIE-LABlab(40.26, -29.84, 41.01)
CIE-LCHlch(40.26, 50.72, 126.04°)
OKLaboklab(47.5% -0.0842 0.0907)
OKLCHoklch(47.5% 0.124 132.9)
XYZxyz(7.3130, 11.4082, 2.3888)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6A12 #3D126A
analogous
#6A6912 #3F6A12 #136A12
triadic
#3F6A12 #123F6A #6A123F
tetradic
#3F6A12 #126A69 #3D126A #6A1213
square
#3F6A12 #126A69 #3D126A #6A1213
split-complementary
#3F6A12 #12136A #69126A
monochromatic
#101A04 #203609 #3F6A12 #5E9E1B #7DD324

Accessibility & contrast

On white

6.40
#3F6A12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3F6A12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6A12
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6A12#FFFFFF#000000##FFFFFF
##3F6A121.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#695E1C
Tritanopia (blue-blind)
#3F655A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3f6a12;
/* rgb */ color: rgb(63, 106, 18);
/* oklch */ color: oklch(47.5% 0.124 132.9);
Tailwind
colors: {
  custom: {
    50: '#799558',
    500: '#3f6a12',
    950: '#000000',
  },
}
SCSS
$custom: #3f6a12;
$custom-light: #799558;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6a12",
  "rgb": {
    "r": 63,
    "g": 106,
    "b": 18
  },
  "hsl": {
    "h": 89.318,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47501,
    "c": 0.12374,
    "h": 132.9
  },
  "luminance": 0.11409
}

Semantic roles & 50–950 ramp

primary
#3F6A12
secondary
#6B36A2
accent
#3AEE92
background
#F7F9F5
surface
#EEF1E9
border
#C9CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3F6A12

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

Preview Lab → · Contrast checker → · Palette generator →

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