#38902F#38902F

#38902F is a mid, vivid green. Relative luminance 0.210; OKLCH L 57.9% C 0.158 H 141.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#38902F
RGBrgb(56, 144, 47)
HSLhsl(114, 51%, 37%)
HSVhsv(114, 67%, 56%)
CMYKcmyk(61.1%, 0%, 67.4%, 43.5%)
CIE-LABlab(52.94, -45.51, 42.33)
CIE-LCHlch(52.94, 62.15, 137.08°)
OKLaboklab(57.92% -0.1241 0.0977)
OKLCHoklch(57.92% 0.158 141.8)
XYZxyz(12.1166, 20.9914, 6.1020)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38902F #872F90
analogous
#68902F #38902F #2F9057
triadic
#38902F #2F3890 #902F38
tetradic
#38902F #2F6890 #872F90 #90572F
square
#38902F #2F6890 #872F90 #90572F
split-complementary
#38902F #572F90 #902F68
monochromatic
#143411 #266220 #38902F #4ABE3E #74CF6B

Accessibility & contrast

On white

4.04
#38902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#38902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38902F
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38902F#FFFFFF#000000##000000
##38902F1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938322
Deuteranopia (green-blind)
#887C38
Tritanopia (blue-blind)
#2A8C7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #38902f;
/* rgb */ color: rgb(56, 144, 47);
/* oklch */ color: oklch(57.9% 0.158 141.8);
Tailwind
colors: {
  custom: {
    50: '#79b16c',
    500: '#38902f',
    950: '#000000',
  },
}
SCSS
$custom: #38902f;
$custom-light: #79b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#38902f",
  "rgb": {
    "r": 56,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 114.433,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57918,
    "c": 0.15797,
    "h": 141.8
  },
  "luminance": 0.20993
}

Semantic roles & 50–950 ramp

primary
#38902F
secondary
#AE65B6
accent
#4EDACD
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #38902F

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

Preview Lab → · Contrast checker → · Palette generator →

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