#2D5022#2D5022

#2D5022 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.2% C 0.083 H 138.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2D5022
RGBrgb(45, 80, 34)
HSLhsl(106, 40%, 22%)
HSVhsv(106, 58%, 31%)
CMYKcmyk(43.7%, 0%, 57.5%, 68.6%)
CIE-LABlab(30.43, -22.79, 23.00)
CIE-LCHlch(30.43, 32.37, 134.74°)
OKLaboklab(39.25% -0.0625 0.0549)
OKLCHoklch(39.25% 0.083 138.7)
XYZxyz(4.2394, 6.4105, 2.5270)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5022 #452250
analogous
#445022 #2D5022 #22502E
triadic
#2D5022 #222D50 #50222D
tetradic
#2D5022 #224450 #452250 #502E22
square
#2D5022 #224450 #452250 #502E22
split-complementary
#2D5022 #2E2250 #502244
monochromatic
#0C1509 #152510 #2D5022 #457B34 #5DA647

Accessibility & contrast

On white

9.20
#2D5022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2D5022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5022
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5022#FFFFFF#000000##FFFFFF
##2D50221.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524A1E
Deuteranopia (green-blind)
#4D4625
Tritanopia (blue-blind)
#2B4D46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d5022;
/* rgb */ color: rgb(45, 80, 34);
/* oklch */ color: oklch(39.2% 0.083 138.7);
Tailwind
colors: {
  custom: {
    50: '#68815e',
    500: '#2d5022',
    950: '#000000',
  },
}
SCSS
$custom: #2d5022;
$custom-light: #68815e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5022",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 34
  },
  "hsl": {
    "h": 105.652,
    "s": 40.351,
    "l": 22.353
  },
  "oklch": {
    "l": 0.39245,
    "c": 0.08324,
    "h": 138.7
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#2D5022
secondary
#764A84
accent
#58D0B3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D5022

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

Preview Lab → · Contrast checker → · Palette generator →

#2D5022 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva