#2D4615#2D4615

#2D4615 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.080 H 132.1°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2D4615
RGBrgb(45, 70, 21)
HSLhsl(91, 54%, 18%)
HSVhsv(91, 70%, 27%)
CMYKcmyk(35.7%, 0%, 70%, 72.5%)
CIE-LABlab(26.71, -19.23, 25.77)
CIE-LCHlch(26.71, 32.16, 126.74°)
OKLaboklab(36.17% -0.0539 0.0595)
OKLCHoklch(36.17% 0.08 132.1)
XYZxyz(3.4077, 4.9922, 1.4934)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4615 #2E1546
analogous
#454615 #2D4615 #154615
triadic
#2D4615 #152D46 #46152D
tetradic
#2D4615 #154546 #2E1546 #461515
square
#2D4615 #154546 #2E1546 #461515
split-complementary
#2D4615 #151546 #461545
monochromatic
#0F1807 #0F1807 #2D4615 #4B7523 #6AA431

Accessibility & contrast

On white

10.51
#2D4615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D4615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4615
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4615#FFFFFF#000000##FFFFFF
##2D46151.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400F
Deuteranopia (green-blind)
#463E19
Tritanopia (blue-blind)
#2E433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d4615;
/* rgb */ color: rgb(45, 70, 21);
/* oklch */ color: oklch(36.2% 0.080 132.1);
Tailwind
colors: {
  custom: {
    50: '#687955',
    500: '#2d4615',
    950: '#000000',
  },
}
SCSS
$custom: #2d4615;
$custom-light: #687955;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4615",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 21
  },
  "hsl": {
    "h": 90.612,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.36168,
    "c": 0.08028,
    "h": 132.1
  },
  "luminance": 0.04992
}

Semantic roles & 50–950 ramp

primary
#2D4615
secondary
#5C397E
accent
#4BDD95
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4615

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

Preview Lab → · Contrast checker → · Palette generator →

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