#38931B#38931B

#38931B is a mid, vivid green. Relative luminance 0.218; OKLCH L 58.6% C 0.174 H 139.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#38931B
RGBrgb(56, 147, 27)
HSLhsl(106, 69%, 34%)
HSVhsv(106, 82%, 58%)
CMYKcmyk(61.9%, 0%, 81.6%, 42.4%)
CIE-LABlab(53.80, -48.22, 50.71)
CIE-LCHlch(53.80, 69.97, 133.56°)
OKLaboklab(58.59% -0.1326 0.1125)
OKLCHoklch(58.59% 0.174 139.7)
XYZxyz(12.2619, 21.7862, 4.5957)
Luminance0.2179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38931B #761B93
analogous
#74931B #38931B #1B933A
triadic
#38931B #1B3893 #931B38
tetradic
#38931B #1B7493 #761B93 #933A1B
square
#38931B #1B7493 #761B93 #933A1B
split-complementary
#38931B #3A1B93 #931B74
monochromatic
#112C08 #245F12 #38931B #4CC724 #6EDE4B

Accessibility & contrast

On white

3.92
#38931B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#38931B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38931B
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38931B#FFFFFF#000000##000000
##38931B1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#8C7E2A
Tritanopia (blue-blind)
#2C8E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #38931b;
/* rgb */ color: rgb(56, 147, 27);
/* oklch */ color: oklch(58.6% 0.174 139.7);
Tailwind
colors: {
  custom: {
    50: '#7bb462',
    500: '#38931b',
    950: '#000000',
  },
}
SCSS
$custom: #38931b;
$custom-light: #7bb462;
$custom-dark: #000000;
JSON
{
  "hex": "#38931b",
  "rgb": {
    "r": 56,
    "g": 147,
    "b": 27
  },
  "hsl": {
    "h": 105.5,
    "s": 68.966,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58585,
    "c": 0.17388,
    "h": 139.7
  },
  "luminance": 0.21787
}

Semantic roles & 50–950 ramp

primary
#38931B
secondary
#A34AC0
accent
#3CECC1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38931B

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

Preview Lab → · Contrast checker → · Palette generator →

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