#38831A#38831A

#38831A is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.2% C 0.155 H 138.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#38831A
RGBrgb(56, 131, 26)
HSLhsl(103, 67%, 31%)
HSVhsv(103, 80%, 51%)
CMYKcmyk(57.3%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.44, -42.26, 45.96)
CIE-LCHlch(48.44, 62.44, 132.60°)
OKLaboklab(54.16% -0.1166 0.1024)
OKLCHoklch(54.16% 0.155 138.7)
XYZxyz(9.9333, 17.1471, 3.7634)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38831A #651A83
analogous
#6C831A #38831A #1A8330
triadic
#38831A #1A3883 #831A38
tetradic
#38831A #1A6C83 #651A83 #83301A
square
#38831A #1A6C83 #651A83 #83301A
split-complementary
#38831A #301A83 #831A6C
monochromatic
#0C1D06 #225010 #38831A #4EB624 #6BD93F

Accessibility & contrast

On white

4.74
#38831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#38831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38831A
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38831A#FFFFFF#000000##FFFFFF
##38831A1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#317E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #38831a;
/* rgb */ color: rgb(56, 131, 26);
/* oklch */ color: oklch(54.2% 0.155 138.7);
Tailwind
colors: {
  custom: {
    50: '#78a860',
    500: '#38831a',
    950: '#000000',
  },
}
SCSS
$custom: #38831a;
$custom-light: #78a860;
$custom-dark: #000000;
JSON
{
  "hex": "#38831a",
  "rgb": {
    "r": 56,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 102.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54158,
    "c": 0.15523,
    "h": 138.7
  },
  "luminance": 0.17148
}

Semantic roles & 50–950 ramp

primary
#38831A
secondary
#9542B7
accent
#3EEAB9
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #38831A

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

Preview Lab → · Contrast checker → · Palette generator →

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