#38931A#38931A

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

Color values

HEX#38931A
RGBrgb(56, 147, 26)
HSLhsl(105, 70%, 34%)
HSVhsv(105, 82%, 58%)
CMYKcmyk(61.9%, 0%, 82.3%, 42.4%)
CIE-LABlab(53.79, -48.27, 51.00)
CIE-LCHlch(53.79, 70.23, 133.42°)
OKLaboklab(58.58% -0.1328 0.113)
OKLCHoklch(58.58% 0.174 139.6)
XYZxyz(12.2505, 21.7816, 4.5358)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38931A #751A93
analogous
#75931A #38931A #1A9339
triadic
#38931A #1A3893 #931A38
tetradic
#38931A #1A7593 #751A93 #93391A
square
#38931A #1A7593 #751A93 #93391A
split-complementary
#38931A #391A93 #931A75
monochromatic
#102B08 #245F11 #38931A #4CC723 #6EDF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38931A#FFFFFF#000000##000000
##38931A1.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)
#8C7E29
Tritanopia (blue-blind)
#2C8E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #38931a;
/* rgb */ color: rgb(56, 147, 26);
/* oklch */ color: oklch(58.6% 0.174 139.6);
Tailwind
colors: {
  custom: {
    50: '#7bb462',
    500: '#38931a',
    950: '#000000',
  },
}
SCSS
$custom: #38931a;
$custom-light: #7bb462;
$custom-dark: #000000;
JSON
{
  "hex": "#38931a",
  "rgb": {
    "r": 56,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 105.124,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58579,
    "c": 0.17434,
    "h": 139.6
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#38931A
secondary
#A348C0
accent
#3BEDC1
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38931A

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

Preview Lab → · Contrast checker → · Palette generator →

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