#38731B#38731B

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

Color values

HEX#38731B
RGBrgb(56, 115, 27)
HSLhsl(100, 62%, 28%)
HSVhsv(100, 77%, 45%)
CMYKcmyk(51.3%, 0%, 76.5%, 54.9%)
CIE-LABlab(43.03, -35.71, 40.31)
CIE-LCHlch(43.03, 53.85, 131.53°)
OKLaboklab(49.7% -0.0989 0.0908)
OKLCHoklch(49.7% 0.134 137.5)
XYZxyz(7.9592, 13.1808, 3.1614)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38731B #561B73
analogous
#64731B #38731B #1B732A
triadic
#38731B #1B3873 #731B38
tetradic
#38731B #1B6473 #561B73 #732A1B
square
#38731B #1B6473 #561B73 #732A1B
split-complementary
#38731B #2A1B73 #731B64
monochromatic
#0C1906 #20410F #38731B #50A527 #6AD038

Accessibility & contrast

On white

5.78
#38731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #38731B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38731B#FFFFFF#000000##FFFFFF
##38731B1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38731b;
/* rgb */ color: rgb(56, 115, 27);
/* oklch */ color: oklch(49.7% 0.134 137.5);
Tailwind
colors: {
  custom: {
    50: '#759c5e',
    500: '#38731b',
    950: '#000000',
  },
}
SCSS
$custom: #38731b;
$custom-light: #759c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#38731b",
  "rgb": {
    "r": 56,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 100.227,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49703,
    "c": 0.13426,
    "h": 137.5
  },
  "luminance": 0.13181
}

Semantic roles & 50–950 ramp

primary
#38731B
secondary
#8642A8
accent
#43E5B0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #38731B

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

Preview Lab → · Contrast checker → · Palette generator →

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