#2D7935#2D7935

#2D7935 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.2% C 0.127 H 145.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#2D7935
RGBrgb(45, 121, 53)
HSLhsl(126, 46%, 33%)
HSVhsv(126, 63%, 47%)
CMYKcmyk(62.8%, 0%, 56.2%, 52.5%)
CIE-LABlab(44.93, -38.48, 30.17)
CIE-LCHlch(44.93, 48.90, 141.90°)
OKLaboklab(51.23% -0.1042 0.0722)
OKLCHoklch(51.23% 0.127 145.3)
XYZxyz(8.5616, 14.4889, 5.7129)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7935 #792D71
analogous
#4B792D #2D7935 #2D795B
triadic
#2D7935 #352D79 #79352D
tetradic
#2D7935 #2D4B79 #792D71 #795B2D
square
#2D7935 #2D4B79 #792D71 #795B2D
split-complementary
#2D7935 #5B2D79 #792D4B
monochromatic
#0C200E #1C4C21 #2D7935 #3EA649 #5DC368

Accessibility & contrast

On white

5.39
#2D7935 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#2D7935 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7935
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7935#FFFFFF#000000##FFFFFF
##2D79351.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2F
Deuteranopia (green-blind)
#71683A
Tritanopia (blue-blind)
#1C766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2d7935;
/* rgb */ color: rgb(45, 121, 53);
/* oklch */ color: oklch(51.2% 0.127 145.3);
Tailwind
colors: {
  custom: {
    50: '#6fa06e',
    500: '#2d7935',
    950: '#000000',
  },
}
SCSS
$custom: #2d7935;
$custom-light: #6fa06e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7935",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 53
  },
  "hsl": {
    "h": 126.316,
    "s": 45.783,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.12676,
    "h": 145.3
  },
  "luminance": 0.1449
}

Semantic roles & 50–950 ramp

primary
#2D7935
secondary
#A958A1
accent
#52C8D5
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F07
muted
#7B7E7A

Preview Lab

Preview with #2D7935

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

Preview Lab → · Contrast checker → · Palette generator →

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