#3F7022#3F7022

#3F7022 is a mid, vivid yellow-green. Relative luminance 0.128; OKLCH L 49.3% C 0.121 H 135.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3F7022
RGBrgb(63, 112, 34)
HSLhsl(98, 53%, 29%)
HSVhsv(98, 70%, 44%)
CMYKcmyk(43.7%, 0%, 69.6%, 56.1%)
CIE-LABlab(42.40, -31.40, 36.81)
CIE-LCHlch(42.40, 48.38, 130.46°)
OKLaboklab(49.29% -0.0872 0.0844)
OKLCHoklch(49.29% 0.121 135.9)
XYZxyz(8.1326, 12.7601, 3.5475)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7022 #532270
analogous
#667022 #3F7022 #22702C
triadic
#3F7022 #223F70 #70223F
tetradic
#3F7022 #226670 #532270 #702C22
square
#3F7022 #226670 #532270 #702C22
split-complementary
#3F7022 #2C2270 #702266
monochromatic
#0D1707 #254114 #3F7022 #599F30 #76C746

Accessibility & contrast

On white

5.91
#3F7022 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3F7022 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7022
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7022#FFFFFF#000000##FFFFFF
##3F70221.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746717
Deuteranopia (green-blind)
#6D6329
Tritanopia (blue-blind)
#3D6C60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3f7022;
/* rgb */ color: rgb(63, 112, 34);
/* oklch */ color: oklch(49.3% 0.121 135.9);
Tailwind
colors: {
  custom: {
    50: '#789961',
    500: '#3f7022',
    950: '#000000',
  },
}
SCSS
$custom: #3f7022;
$custom-light: #789961;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7022",
  "rgb": {
    "r": 63,
    "g": 112,
    "b": 34
  },
  "hsl": {
    "h": 97.692,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.12133,
    "h": 135.9
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#3F7022
secondary
#824AA3
accent
#4BDDA7
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3F7022

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

Preview Lab → · Contrast checker → · Palette generator →

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