#2D5C14#2D5C14

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

Color values

HEX#2D5C14
RGBrgb(45, 92, 20)
HSLhsl(99, 64%, 22%)
HSVhsv(99, 78%, 36%)
CMYKcmyk(51.1%, 0%, 78.3%, 63.9%)
CIE-LABlab(34.52, -29.98, 34.42)
CIE-LCHlch(34.52, 45.65, 131.06°)
OKLaboklab(42.56% -0.0832 0.0775)
OKLCHoklch(42.56% 0.114 137)
XYZxyz(5.0354, 8.2623, 1.9911)
Luminance0.0826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5C14 #43145C
analogous
#515C14 #2D5C14 #145C1F
triadic
#2D5C14 #142D5C #5C142D
tetradic
#2D5C14 #14515C #43145C #5C1F14
square
#2D5C14 #14515C #43145C #5C1F14
split-complementary
#2D5C14 #1F145C #5C1451
monochromatic
#0C1905 #142A09 #2D5C14 #468E1F #5EC12A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D5C14#FFFFFF#000000##FFFFFF
##2D5C141.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)
#5F5407
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#2A584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d5c14;
/* rgb */ color: rgb(45, 92, 20);
/* oklch */ color: oklch(42.6% 0.114 137.0);
Tailwind
colors: {
  custom: {
    50: '#6b8a57',
    500: '#2d5c14',
    950: '#000000',
  },
}
SCSS
$custom: #2d5c14;
$custom-light: #6b8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5c14",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 99.167,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42555,
    "c": 0.11372,
    "h": 137
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#2D5C14
secondary
#743894
accent
#41E7AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5C14

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

Preview Lab → · Contrast checker → · Palette generator →

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