#2D5F16#2D5F16

#2D5F16 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.116 H 137.7°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2D5F16
RGBrgb(45, 95, 22)
HSLhsl(101, 62%, 23%)
HSVhsv(101, 77%, 37%)
CMYKcmyk(52.6%, 0%, 76.8%, 62.7%)
CIE-LABlab(35.60, -31.15, 34.67)
CIE-LCHlch(35.60, 46.61, 131.93°)
OKLaboklab(43.44% -0.0862 0.0784)
OKLCHoklch(43.44% 0.116 137.7)
XYZxyz(5.3190, 8.7999, 2.1772)
Luminance0.0880 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F16 #48165F
analogous
#515F16 #2D5F16 #165F23
triadic
#2D5F16 #162D5F #5F162D
tetradic
#2D5F16 #16515F #48165F #5F2316
square
#2D5F16 #16515F #48165F #5F2316
split-complementary
#2D5F16 #23165F #5F1651
monochromatic
#0C1906 #152D0A #2D5F16 #459122 #5CC22D

Accessibility & contrast

On white

7.61
#2D5F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D5F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F16
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F16#FFFFFF#000000##FFFFFF
##2D5F161.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625609
Deuteranopia (green-blind)
#5C521D
Tritanopia (blue-blind)
#2A5B51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f16;
/* rgb */ color: rgb(45, 95, 22);
/* oklch */ color: oklch(43.4% 0.116 137.7);
Tailwind
colors: {
  custom: {
    50: '#6c8d58',
    500: '#2d5f16',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f16;
$custom-light: #6c8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f16",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 22
  },
  "hsl": {
    "h": 101.096,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.43441,
    "c": 0.11649,
    "h": 137.7
  },
  "luminance": 0.088
}

Semantic roles & 50–950 ramp

primary
#2D5F16
secondary
#793B96
accent
#42E5B2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79

Preview Lab

Preview with #2D5F16

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

Preview Lab → · Contrast checker → · Palette generator →

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