#38931F#38931F

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

Color values

HEX#38931F
RGBrgb(56, 147, 31)
HSLhsl(107, 65%, 35%)
HSVhsv(107, 79%, 58%)
CMYKcmyk(61.9%, 0%, 78.9%, 42.4%)
CIE-LABlab(53.82, -47.97, 49.45)
CIE-LCHlch(53.82, 68.89, 134.13°)
OKLaboklab(58.61% -0.1317 0.1105)
OKLCHoklch(58.61% 0.172 140)
XYZxyz(12.3114, 21.8060, 4.8562)
Luminance0.2181 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38931F #7A1F93
analogous
#72931F #38931F #1F9340
triadic
#38931F #1F3893 #931F38
tetradic
#38931F #1F7293 #7A1F93 #93401F
square
#38931F #1F7293 #7A1F93 #93401F
split-complementary
#38931F #401F93 #931F72
monochromatic
#112E0A #256014 #38931F #4BC62A #6FDA52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38931F#FFFFFF#000000##000000
##38931F1.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)
#978501
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#2C8E7D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #38931f;
/* rgb */ color: rgb(56, 147, 31);
/* oklch */ color: oklch(58.6% 0.172 140.0);
Tailwind
colors: {
  custom: {
    50: '#7ab464',
    500: '#38931f',
    950: '#000000',
  },
}
SCSS
$custom: #38931f;
$custom-light: #7ab464;
$custom-dark: #000000;
JSON
{
  "hex": "#38931f",
  "rgb": {
    "r": 56,
    "g": 147,
    "b": 31
  },
  "hsl": {
    "h": 107.069,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.17189,
    "h": 140
  },
  "luminance": 0.21807
}

Semantic roles & 50–950 ramp

primary
#38931F
secondary
#A650BE
accent
#40E8C4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #38931F

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

Preview Lab → · Contrast checker → · Palette generator →

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