#2D5C13#2D5C13

#2D5C13 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.5% C 0.114 H 136.9°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2D5C13
RGBrgb(45, 92, 19)
HSLhsl(99, 66%, 22%)
HSVhsv(99, 79%, 36%)
CMYKcmyk(51.1%, 0%, 79.3%, 63.9%)
CIE-LABlab(34.52, -30.06, 34.81)
CIE-LCHlch(34.52, 46.00, 130.81°)
OKLaboklab(42.55% -0.0835 0.0782)
OKLCHoklch(42.55% 0.114 136.9)
XYZxyz(5.0267, 8.2589, 1.9452)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C13 #42135C
analogous
#525C13 #2D5C13 #135C1E
triadic
#2D5C13 #132D5C #5C132D
tetradic
#2D5C13 #13525C #42135C #5C1E13
square
#2D5C13 #13525C #42135C #5C1E13
split-complementary
#2D5C13 #1E135C #5C1352
monochromatic
#0C1905 #142909 #2D5C13 #468F1D #5FC128

Accessibility & contrast

On white

7.92
#2D5C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2D5C13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5C13
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5C13#FFFFFF#000000##FFFFFF
##2D5C131.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5405
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#2A584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5c13;
/* rgb */ color: rgb(45, 92, 19);
/* oklch */ color: oklch(42.5% 0.114 136.9);
Tailwind
colors: {
  custom: {
    50: '#6b8a56',
    500: '#2d5c13',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c13;
$custom-light: #6b8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c13",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 19
  },
  "hsl": {
    "h": 98.63,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42547,
    "c": 0.11438,
    "h": 136.9
  },
  "luminance": 0.08259
}

Semantic roles & 50–950 ramp

primary
#2D5C13
secondary
#733794
accent
#3FE9AC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5C13

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

Preview Lab → · Contrast checker → · Palette generator →

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