#38901F#38901F

#38901F is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.8% C 0.168 H 139.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#38901F
RGBrgb(56, 144, 31)
HSLhsl(107, 65%, 34%)
HSVhsv(107, 78%, 56%)
CMYKcmyk(61.1%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.82, -46.86, 48.49)
CIE-LCHlch(52.82, 67.43, 134.02°)
OKLaboklab(57.78% -0.1287 0.1085)
OKLCHoklch(57.78% 0.168 139.9)
XYZxyz(11.8509, 20.8851, 4.7028)
Luminance0.2089 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38901F #771F90
analogous
#71901F #38901F #1F903F
triadic
#38901F #1F3890 #901F38
tetradic
#38901F #1F7190 #771F90 #903F1F
square
#38901F #1F7190 #771F90 #903F1F
split-complementary
#38901F #3F1F90 #901F71
monochromatic
#112B09 #245E14 #38901F #4CC22A #6ED950

Accessibility & contrast

On white

4.06
#38901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#38901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38901F
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38901F#FFFFFF#000000##000000
##38901F1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#948303
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#2D8B7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #38901f;
/* rgb */ color: rgb(56, 144, 31);
/* oklch */ color: oklch(57.8% 0.168 139.9);
Tailwind
colors: {
  custom: {
    50: '#7ab164',
    500: '#38901f',
    950: '#000000',
  },
}
SCSS
$custom: #38901f;
$custom-light: #7ab164;
$custom-dark: #000000;
JSON
{
  "hex": "#38901f",
  "rgb": {
    "r": 56,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 106.726,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57784,
    "c": 0.16832,
    "h": 139.9
  },
  "luminance": 0.20886
}

Semantic roles & 50–950 ramp

primary
#38901F
secondary
#A44EBC
accent
#40E8C3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38901F

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

Preview Lab → · Contrast checker → · Palette generator →

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