#2D5914#2D5914

#2D5914 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.7% C 0.110 H 136.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2D5914
RGBrgb(45, 89, 20)
HSLhsl(98, 63%, 21%)
HSVhsv(98, 78%, 35%)
CMYKcmyk(49.4%, 0%, 77.5%, 65.1%)
CIE-LABlab(33.46, -28.63, 33.35)
CIE-LCHlch(33.46, 43.95, 130.65°)
OKLaboklab(41.68% -0.0795 0.0753)
OKLCHoklch(41.68% 0.11 136.6)
XYZxyz(4.7807, 7.7528, 1.9062)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5914 #401459
analogous
#505914 #2D5914 #14591E
triadic
#2D5914 #142D59 #59142D
tetradic
#2D5914 #145059 #401459 #591E14
square
#2D5914 #145059 #401459 #591E14
split-complementary
#2D5914 #1E1459 #591450
monochromatic
#0D1906 #142709 #2D5914 #468B1F #60BD2A

Accessibility & contrast

On white

8.23
#2D5914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2D5914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5914
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5914#FFFFFF#000000##FFFFFF
##2D59141.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5108
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#2B564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d5914;
/* rgb */ color: rgb(45, 89, 20);
/* oklch */ color: oklch(41.7% 0.110 136.6);
Tailwind
colors: {
  custom: {
    50: '#6b8857',
    500: '#2d5914',
    950: '#000000',
  },
}
SCSS
$custom: #2d5914;
$custom-light: #6b8857;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5914",
  "rgb": {
    "r": 45,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 98.261,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41684,
    "c": 0.10953,
    "h": 136.6
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#2D5914
secondary
#713891
accent
#41E6AB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5914

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

Preview Lab → · Contrast checker → · Palette generator →

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