#38851A#38851A

#38851A is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.158 H 138.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#38851A
RGBrgb(56, 133, 26)
HSLhsl(103, 67%, 31%)
HSVhsv(103, 80%, 52%)
CMYKcmyk(57.9%, 0%, 80.5%, 47.8%)
CIE-LABlab(49.12, -43.04, 46.61)
CIE-LCHlch(49.12, 63.44, 132.72°)
OKLaboklab(54.71% -0.1187 0.1038)
OKLCHoklch(54.71% 0.158 138.8)
XYZxyz(10.2045, 17.6895, 3.8538)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38851A #671A85
analogous
#6D851A #38851A #1A8531
triadic
#38851A #1A3885 #851A38
tetradic
#38851A #1A6D85 #671A85 #85311A
square
#38851A #1A6D85 #671A85 #85311A
split-complementary
#38851A #311A85 #851A6D
monochromatic
#0D1F06 #225210 #38851A #4EB824 #6BDA40

Accessibility & contrast

On white

4.63
#38851A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#38851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #38851A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38851A#FFFFFF#000000##FFFFFF
##38851A1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#308071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #38851a;
/* rgb */ color: rgb(56, 133, 26);
/* oklch */ color: oklch(54.7% 0.158 138.8);
Tailwind
colors: {
  custom: {
    50: '#78a960',
    500: '#38851a',
    950: '#000000',
  },
}
SCSS
$custom: #38851a;
$custom-light: #78a960;
$custom-dark: #000000;
JSON
{
  "hex": "#38851a",
  "rgb": {
    "r": 56,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 103.178,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54713,
    "c": 0.15768,
    "h": 138.8
  },
  "luminance": 0.1769
}

Semantic roles & 50–950 ramp

primary
#38851A
secondary
#9742B8
accent
#3EEABA
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #38851A

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

Preview Lab → · Contrast checker → · Palette generator →

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