#1D7938#1D7938

#1D7938 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.8% C 0.130 H 148.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#1D7938
RGBrgb(29, 121, 56)
HSLhsl(138, 61%, 29%)
HSVhsv(138, 76%, 47%)
CMYKcmyk(76%, 0%, 53.7%, 52.5%)
CIE-LABlab(44.55, -41.34, 28.03)
CIE-LCHlch(44.55, 49.94, 145.86°)
OKLaboklab(50.81% -0.1112 0.0677)
OKLCHoklch(50.81% 0.13 148.7)
XYZxyz(8.0572, 14.2206, 6.0608)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D7938 #791D5E
analogous
#30791D #1D7938 #1D7966
triadic
#1D7938 #381D79 #79381D
tetradic
#1D7938 #1D3079 #791D5E #79661D
square
#1D7938 #1D3079 #791D5E #79661D
split-complementary
#1D7938 #661D79 #791D30
monochromatic
#06190B #114821 #1D7938 #29AA4F #3FD16A

Accessibility & contrast

On white

5.46
#1D7938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#1D7938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #1D7938
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D7938#FFFFFF#000000##FFFFFF
##1D79381.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E32
Deuteranopia (green-blind)
#6F663D
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #1d7938;
/* rgb */ color: rgb(29, 121, 56);
/* oklch */ color: oklch(50.8% 0.130 148.7);
Tailwind
colors: {
  custom: {
    50: '#68a170',
    500: '#1d7938',
    950: '#000000',
  },
}
SCSS
$custom: #1d7938;
$custom-light: #68a170;
$custom-dark: #000000;
JSON
{
  "hex": "#1d7938",
  "rgb": {
    "r": 29,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 137.609,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.13019,
    "h": 148.7
  },
  "luminance": 0.14221
}

Semantic roles & 50–950 ramp

primary
#1D7938
secondary
#AD458E
accent
#43B5E4
background
#F6FAF6
surface
#EBF3EC
border
#C6CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #1D7938

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

Preview Lab → · Contrast checker → · Palette generator →

#1D7938 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva