#38731C#38731C

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

Color values

HEX#38731C
RGBrgb(56, 115, 28)
HSLhsl(101, 61%, 28%)
HSVhsv(101, 76%, 45%)
CMYKcmyk(51.3%, 0%, 75.7%, 54.9%)
CIE-LABlab(43.04, -35.63, 39.93)
CIE-LCHlch(43.04, 53.51, 131.75°)
OKLaboklab(49.71% -0.0986 0.0901)
OKLCHoklch(49.71% 0.134 137.6)
XYZxyz(7.9710, 13.1855, 3.2234)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38731C #571C73
analogous
#63731C #38731C #1C732C
triadic
#38731C #1C3873 #731C38
tetradic
#38731C #1C6373 #571C73 #732C1C
square
#38731C #1C6373 #571C73 #732C1C
split-complementary
#38731C #2C1C73 #731C63
monochromatic
#0C1906 #204210 #38731C #50A428 #6ACF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38731C#FFFFFF#000000##FFFFFF
##38731C1.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)
#77690C
Deuteranopia (green-blind)
#6F6425
Tritanopia (blue-blind)
#346F62
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #38731c;
/* rgb */ color: rgb(56, 115, 28);
/* oklch */ color: oklch(49.7% 0.134 137.6);
Tailwind
colors: {
  custom: {
    50: '#759c5e',
    500: '#38731c',
    950: '#000000',
  },
}
SCSS
$custom: #38731c;
$custom-light: #759c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#38731c",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 28
  },
  "hsl": {
    "h": 100.69,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49711,
    "c": 0.13361,
    "h": 137.6
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#38731C
secondary
#8743A7
accent
#44E4B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38731C

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

Preview Lab → · Contrast checker → · Palette generator →

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