#1D8522#1D8522

#1D8522 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.0% C 0.163 H 143.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#1D8522
RGBrgb(29, 133, 34)
HSLhsl(123, 64%, 32%)
HSVhsv(123, 78%, 52%)
CMYKcmyk(78.2%, 0%, 74.4%, 47.8%)
CIE-LABlab(48.45, -48.37, 42.80)
CIE-LCHlch(48.45, 64.59, 138.50°)
OKLaboklab(53.97% -0.1311 0.0972)
OKLCHoklch(53.97% 0.163 143.4)
XYZxyz(9.1824, 17.1507, 4.3395)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D8522 #851D80
analogous
#4C851D #1D8522 #1D8556
triadic
#1D8522 #221D85 #85221D
tetradic
#1D8522 #1D4C85 #851D80 #85561D
square
#1D8522 #1D4C85 #851D80 #85561D
split-complementary
#1D8522 #561D85 #851D4C
monochromatic
#072108 #125315 #1D8522 #28B72F #46D74D

Accessibility & contrast

On white

4.74
#1D8522 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#1D8522 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##1D8522#FFFFFF#000000##FFFFFF
##1D85221.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)
#887811
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #1d8522;
/* rgb */ color: rgb(29, 133, 34);
/* oklch */ color: oklch(54.0% 0.163 143.4);
Tailwind
colors: {
  custom: {
    50: '#6caa64',
    500: '#1d8522',
    950: '#000000',
  },
}
SCSS
$custom: #1d8522;
$custom-light: #6caa64;
$custom-dark: #000000;
JSON
{
  "hex": "#1d8522",
  "rgb": {
    "r": 29,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 122.885,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.1632,
    "h": 143.4
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

primary
#1D8522
secondary
#B846B2
accent
#41DFE7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #1D8522

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

Preview Lab → · Contrast checker → · Palette generator →

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