#38701F#38701F

#38701F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.9% C 0.127 H 137.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#38701F
RGBrgb(56, 112, 31)
HSLhsl(101, 57%, 28%)
HSVhsv(101, 72%, 44%)
CMYKcmyk(50%, 0%, 72.3%, 56.1%)
CIE-LABlab(42.04, -34.10, 37.66)
CIE-LCHlch(42.04, 50.80, 132.16°)
OKLaboklab(48.9% -0.0943 0.0858)
OKLCHoklch(48.9% 0.127 137.7)
XYZxyz(7.6721, 12.5275, 3.3098)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38701F #571F70
analogous
#60701F #38701F #1F702E
triadic
#38701F #1F3870 #701F38
tetradic
#38701F #1F6070 #571F70 #702E1F
square
#38701F #1F6070 #571F70 #702E1F
split-complementary
#38701F #2E1F70 #701F60
monochromatic
#0C1807 #204012 #38701F #50A02C #6ACA3F

Accessibility & contrast

On white

5.99
#38701F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#38701F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38701F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38701F#FFFFFF#000000##FFFFFF
##38701F1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#346C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #38701f;
/* rgb */ color: rgb(56, 112, 31);
/* oklch */ color: oklch(48.9% 0.127 137.7);
Tailwind
colors: {
  custom: {
    50: '#749960',
    500: '#38701f',
    950: '#000000',
  },
}
SCSS
$custom: #38701f;
$custom-light: #749960;
$custom-dark: #000000;
JSON
{
  "hex": "#38701f",
  "rgb": {
    "r": 56,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 101.481,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48897,
    "c": 0.12747,
    "h": 137.7
  },
  "luminance": 0.12528
}

Semantic roles & 50–950 ramp

primary
#38701F
secondary
#8747A4
accent
#48E0B1
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38701F

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

Preview Lab → · Contrast checker → · Palette generator →

#38701F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva