#3D731F#3D731F

#3D731F is a mid, vivid yellow-green. Relative luminance 0.134; OKLCH L 50.0% C 0.129 H 136.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#3D731F
RGBrgb(61, 115, 31)
HSLhsl(99, 58%, 29%)
HSVhsv(99, 73%, 45%)
CMYKcmyk(47%, 0%, 73%, 54.9%)
CIE-LABlab(43.29, -33.71, 39.02)
CIE-LCHlch(43.29, 51.56, 130.82°)
OKLaboklab(49.98% -0.0936 0.0886)
OKLCHoklch(49.98% 0.129 136.6)
XYZxyz(8.3023, 13.3520, 3.4358)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D731F #551F73
analogous
#67731F #3D731F #1F732B
triadic
#3D731F #1F3D73 #731F3D
tetradic
#3D731F #1F6773 #551F73 #732B1F
square
#3D731F #1F6773 #551F73 #732B1F
split-complementary
#3D731F #2B1F73 #731F67
monochromatic
#0D1806 #234312 #3D731F #57A32C #72CC41

Accessibility & contrast

On white

5.72
#3D731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#3D731F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D731F
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D731F#FFFFFF#000000##FFFFFF
##3D731F1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#3A6F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3d731f;
/* rgb */ color: rgb(61, 115, 31);
/* oklch */ color: oklch(50.0% 0.129 136.6);
Tailwind
colors: {
  custom: {
    50: '#789c60',
    500: '#3d731f',
    950: '#000000',
  },
}
SCSS
$custom: #3d731f;
$custom-light: #789c60;
$custom-dark: #000000;
JSON
{
  "hex": "#3d731f",
  "rgb": {
    "r": 61,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 98.571,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49983,
    "c": 0.12886,
    "h": 136.6
  },
  "luminance": 0.13352
}

Semantic roles & 50–950 ramp

primary
#3D731F
secondary
#8547A7
accent
#47E1AA
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #3D731F

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

Preview Lab → · Contrast checker → · Palette generator →

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