#38901C#38901C

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

Color values

HEX#38901C
RGBrgb(56, 144, 28)
HSLhsl(106, 67%, 34%)
HSVhsv(106, 81%, 56%)
CMYKcmyk(61.1%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.81, -47.06, 49.46)
CIE-LCHlch(52.81, 68.27, 133.57°)
OKLaboklab(57.77% -0.1294 0.1101)
OKLCHoklch(57.77% 0.17 139.6)
XYZxyz(11.8132, 20.8700, 4.5042)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38901C #741C90
analogous
#72901C #38901C #1C903A
triadic
#38901C #1C3890 #901C38
tetradic
#38901C #1C7290 #741C90 #903A1C
square
#38901C #1C7290 #741C90 #903A1C
split-complementary
#38901C #3A1C90 #901C72
monochromatic
#102A08 #245D12 #38901C #4CC326 #6EDC4A

Accessibility & contrast

On white

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

On black

5.17
#38901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38901C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38901C#FFFFFF#000000##000000
##38901C1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #38901c;
/* rgb */ color: rgb(56, 144, 28);
/* oklch */ color: oklch(57.8% 0.170 139.6);
Tailwind
colors: {
  custom: {
    50: '#7ab162',
    500: '#38901c',
    950: '#000000',
  },
}
SCSS
$custom: #38901c;
$custom-light: #7ab162;
$custom-dark: #000000;
JSON
{
  "hex": "#38901c",
  "rgb": {
    "r": 56,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 105.517,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57765,
    "c": 0.16988,
    "h": 139.6
  },
  "luminance": 0.20871
}

Semantic roles & 50–950 ramp

primary
#38901C
secondary
#A24ABE
accent
#3DEAC1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38901C

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

Preview Lab → · Contrast checker → · Palette generator →

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