#38731D#38731D

#38731D is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.133 H 137.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#38731D
RGBrgb(56, 115, 29)
HSLhsl(101, 60%, 28%)
HSVhsv(101, 75%, 45%)
CMYKcmyk(51.3%, 0%, 74.8%, 54.9%)
CIE-LABlab(43.05, -35.55, 39.53)
CIE-LCHlch(43.05, 53.17, 131.97°)
OKLaboklab(49.72% -0.0984 0.0895)
OKLCHoklch(49.72% 0.133 137.7)
XYZxyz(7.9831, 13.1904, 3.2875)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38731D #581D73
analogous
#63731D #38731D #1D732D
triadic
#38731D #1D3873 #731D38
tetradic
#38731D #1D6373 #581D73 #732D1D
square
#38731D #1D6373 #581D73 #732D1D
split-complementary
#38731D #2D1D73 #731D63
monochromatic
#0C1806 #204211 #38731D #50A429 #6ACE3C

Accessibility & contrast

On white

5.77
#38731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#38731D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38731D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38731D#FFFFFF#000000##FFFFFF
##38731D1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77690E
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#346F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #38731d;
/* rgb */ color: rgb(56, 115, 29);
/* oklch */ color: oklch(49.7% 0.133 137.7);
Tailwind
colors: {
  custom: {
    50: '#759c5f',
    500: '#38731d',
    950: '#000000',
  },
}
SCSS
$custom: #38731d;
$custom-light: #759c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#38731d",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 101.163,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.13294,
    "h": 137.7
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#38731D
secondary
#8845A7
accent
#45E3B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38731D

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

Preview Lab → · Contrast checker → · Palette generator →

#38731D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva