#38901B#38901B

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

Color values

HEX#38901B
RGBrgb(56, 144, 27)
HSLhsl(105, 68%, 34%)
HSVhsv(105, 81%, 56%)
CMYKcmyk(61.1%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.80, -47.12, 49.77)
CIE-LCHlch(52.80, 68.54, 133.43°)
OKLaboklab(57.76% -0.1296 0.1106)
OKLCHoklch(57.76% 0.17 139.5)
XYZxyz(11.8015, 20.8653, 4.4422)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38901B #731B90
analogous
#72901B #38901B #1B9038
triadic
#38901B #1B3890 #901B38
tetradic
#38901B #1B7290 #731B90 #90381B
square
#38901B #1B7290 #731B90 #90381B
split-complementary
#38901B #381B90 #901B72
monochromatic
#102908 #245C11 #38901B #4CC425 #6DDD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38901B#FFFFFF#000000##000000
##38901B1.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)
#897B29
Tritanopia (blue-blind)
#2D8B7A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #38901b;
/* rgb */ color: rgb(56, 144, 27);
/* oklch */ color: oklch(57.8% 0.170 139.5);
Tailwind
colors: {
  custom: {
    50: '#7ab162',
    500: '#38901b',
    950: '#000000',
  },
}
SCSS
$custom: #38901b;
$custom-light: #7ab162;
$custom-dark: #000000;
JSON
{
  "hex": "#38901b",
  "rgb": {
    "r": 56,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 105.128,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57759,
    "c": 0.17036,
    "h": 139.5
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#38901B
secondary
#A148BF
accent
#3DEBC0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38901B

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

Preview Lab → · Contrast checker → · Palette generator →

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