#2D4515#2D4515

#2D4515 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.079 H 131.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#2D4515
RGBrgb(45, 69, 21)
HSLhsl(90, 53%, 18%)
HSVhsv(90, 70%, 27%)
CMYKcmyk(34.8%, 0%, 69.6%, 72.9%)
CIE-LABlab(26.36, -18.71, 25.38)
CIE-LCHlch(26.36, 31.52, 126.40°)
OKLaboklab(35.88% -0.0524 0.0587)
OKLCHoklch(35.88% 0.079 131.8)
XYZxyz(3.3456, 4.8682, 1.4727)
Luminance0.0487 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4515 #2D1545
analogous
#454515 #2D4515 #154515
triadic
#2D4515 #152D45 #45152D
tetradic
#2D4515 #154545 #2D1545 #451515
square
#2D4515 #154545 #2D1545 #451515
split-complementary
#2D4515 #151545 #451545
monochromatic
#0F1707 #0F1707 #2D4515 #4C7423 #6AA332

Accessibility & contrast

On white

10.64
#2D4515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2D4515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4515
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4515#FFFFFF#000000##FFFFFF
##2D45151.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48400F
Deuteranopia (green-blind)
#453E19
Tritanopia (blue-blind)
#2E423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d4515;
/* rgb */ color: rgb(45, 69, 21);
/* oklch */ color: oklch(35.9% 0.079 131.8);
Tailwind
colors: {
  custom: {
    50: '#687955',
    500: '#2d4515',
    950: '#000000',
  },
}
SCSS
$custom: #2d4515;
$custom-light: #687955;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4515",
  "rgb": {
    "r": 45,
    "g": 69,
    "b": 21
  },
  "hsl": {
    "h": 90,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.07869,
    "h": 131.8
  },
  "luminance": 0.04868
}

Semantic roles & 50–950 ramp

primary
#2D4515
secondary
#5B397D
accent
#4BDD94
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4515

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

Preview Lab → · Contrast checker → · Palette generator →

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