#2D7825#2D7825

#2D7825 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.7% C 0.139 H 141.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#2D7825
RGBrgb(45, 120, 37)
HSLhsl(114, 53%, 31%)
HSVhsv(114, 69%, 47%)
CMYKcmyk(62.5%, 0%, 69.2%, 52.9%)
CIE-LABlab(44.41, -40.06, 37.41)
CIE-LCHlch(44.41, 54.81, 136.96°)
OKLaboklab(50.75% -0.1093 0.0862)
OKLCHoklch(50.75% 0.139 141.7)
XYZxyz(8.1322, 14.1236, 4.0475)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7825 #702578
analogous
#567825 #2D7825 #257846
triadic
#2D7825 #252D78 #78252D
tetradic
#2D7825 #255678 #702578 #784625
square
#2D7825 #255678 #702578 #784625
split-complementary
#2D7825 #462578 #782556
monochromatic
#0A1A08 #1B4917 #2D7825 #3FA733 #5AC94F

Accessibility & contrast

On white

5.49
#2D7825 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2D7825 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7825
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7825#FFFFFF#000000##FFFFFF
##2D78251.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1A
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#217467
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2d7825;
/* rgb */ color: rgb(45, 120, 37);
/* oklch */ color: oklch(50.7% 0.139 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fa064',
    500: '#2d7825',
    950: '#000000',
  },
}
SCSS
$custom: #2d7825;
$custom-light: #6fa064;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7825",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 37
  },
  "hsl": {
    "h": 114.217,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50746,
    "c": 0.13919,
    "h": 141.7
  },
  "luminance": 0.14124
}

Semantic roles & 50–950 ramp

primary
#2D7825
secondary
#A24EAA
accent
#4CDCCE
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #2D7825

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

Preview Lab → · Contrast checker → · Palette generator →

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