#38921B#38921B

#38921B is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.3% C 0.173 H 139.6°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#38921B
RGBrgb(56, 146, 27)
HSLhsl(105, 69%, 34%)
HSVhsv(105, 82%, 57%)
CMYKcmyk(61.6%, 0%, 81.5%, 42.7%)
CIE-LABlab(53.47, -47.85, 50.40)
CIE-LCHlch(53.47, 69.50, 133.51°)
OKLaboklab(58.31% -0.1316 0.1119)
OKLCHoklch(58.31% 0.173 139.6)
XYZxyz(12.1071, 21.4765, 4.5441)
Luminance0.2148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38921B #751B92
analogous
#74921B #38921B #1B923A
triadic
#38921B #1B3892 #921B38
tetradic
#38921B #1B7492 #751B92 #923A1B
square
#38921B #1B7492 #751B92 #923A1B
split-complementary
#38921B #3A1B92 #921B74
monochromatic
#102B08 #245E11 #38921B #4CC625 #6EDE4A

Accessibility & contrast

On white

3.97
#38921B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#38921B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38921B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38921B#FFFFFF#000000##000000
##38921B1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8B7D29
Tritanopia (blue-blind)
#2C8D7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #38921b;
/* rgb */ color: rgb(56, 146, 27);
/* oklch */ color: oklch(58.3% 0.173 139.6);
Tailwind
colors: {
  custom: {
    50: '#7ab362',
    500: '#38921b',
    950: '#000000',
  },
}
SCSS
$custom: #38921b;
$custom-light: #7ab362;
$custom-dark: #000000;
JSON
{
  "hex": "#38921b",
  "rgb": {
    "r": 56,
    "g": 146,
    "b": 27
  },
  "hsl": {
    "h": 105.378,
    "s": 68.786,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5831,
    "c": 0.17271,
    "h": 139.6
  },
  "luminance": 0.21478
}

Semantic roles & 50–950 ramp

primary
#38921B
secondary
#A349BF
accent
#3CECC1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38921B

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

Preview Lab → · Contrast checker → · Palette generator →

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