#38731E#38731E

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

Color values

HEX#38731E
RGBrgb(56, 115, 30)
HSLhsl(102, 59%, 28%)
HSVhsv(102, 74%, 45%)
CMYKcmyk(51.3%, 0%, 73.9%, 54.9%)
CIE-LABlab(43.06, -35.47, 39.13)
CIE-LCHlch(43.06, 52.81, 132.19°)
OKLaboklab(49.73% -0.098 0.0888)
OKLCHoklch(49.73% 0.132 137.8)
XYZxyz(7.9957, 13.1954, 3.3537)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38731E #591E73
analogous
#62731E #38731E #1E732E
triadic
#38731E #1E3873 #731E38
tetradic
#38731E #1E6273 #591E73 #732E1E
square
#38731E #1E6273 #591E73 #732E1E
split-complementary
#38731E #2E1E73 #731E62
monochromatic
#0C1806 #204211 #38731E #50A42B #6ACD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38731E#FFFFFF#000000##FFFFFF
##38731E1.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)
#776910
Deuteranopia (green-blind)
#6F6426
Tritanopia (blue-blind)
#346F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #38731e;
/* rgb */ color: rgb(56, 115, 30);
/* oklch */ color: oklch(49.7% 0.132 137.8);
Tailwind
colors: {
  custom: {
    50: '#759c5f',
    500: '#38731e',
    950: '#000000',
  },
}
SCSS
$custom: #38731e;
$custom-light: #759c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#38731e",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 30
  },
  "hsl": {
    "h": 101.647,
    "s": 58.621,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.13226,
    "h": 137.8
  },
  "luminance": 0.13196
}

Semantic roles & 50–950 ramp

primary
#38731E
secondary
#8946A7
accent
#46E2B2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38731E

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

Preview Lab → · Contrast checker → · Palette generator →

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