#2D5614#2D5614

#2D5614 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.8% C 0.105 H 136.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2D5614
RGBrgb(45, 86, 20)
HSLhsl(97, 62%, 21%)
HSVhsv(97, 77%, 34%)
CMYKcmyk(47.7%, 0%, 76.7%, 66.3%)
CIE-LABlab(32.40, -27.26, 32.27)
CIE-LCHlch(32.40, 42.24, 130.19°)
OKLaboklab(40.81% -0.0758 0.0731)
OKLCHoklch(40.81% 0.105 136.1)
XYZxyz(4.5361, 7.2637, 1.8247)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5614 #3D1456
analogous
#4E5614 #2D5614 #14561C
triadic
#2D5614 #142D56 #56142D
tetradic
#2D5614 #144E56 #3D1456 #561C14
square
#2D5614 #144E56 #3D1456 #561C14
split-complementary
#2D5614 #1C1456 #56144E
monochromatic
#0D1906 #132408 #2D5614 #478820 #61B92B

Accessibility & contrast

On white

8.56
#2D5614 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D5614 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5614
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5614#FFFFFF#000000##FFFFFF
##2D56141.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E09
Deuteranopia (green-blind)
#544B1A
Tritanopia (blue-blind)
#2B5349
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d5614;
/* rgb */ color: rgb(45, 86, 20);
/* oklch */ color: oklch(40.8% 0.105 136.1);
Tailwind
colors: {
  custom: {
    50: '#6a8656',
    500: '#2d5614',
    950: '#000000',
  },
}
SCSS
$custom: #2d5614;
$custom-light: #6a8656;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5614",
  "rgb": {
    "r": 45,
    "g": 86,
    "b": 20
  },
  "hsl": {
    "h": 97.273,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.10527,
    "h": 136.1
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#2D5614
secondary
#6D388E
accent
#42E5A8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5614

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

Preview Lab → · Contrast checker → · Palette generator →

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