#2D4115#2D4115

#2D4115 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.072 H 130.0°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2D4115
RGBrgb(45, 65, 21)
HSLhsl(87, 51%, 17%)
HSVhsv(87, 68%, 25%)
CMYKcmyk(30.8%, 0%, 67.7%, 74.5%)
CIE-LABlab(24.93, -16.53, 23.79)
CIE-LCHlch(24.93, 28.97, 124.80°)
OKLaboklab(34.72% -0.0464 0.0553)
OKLCHoklch(34.72% 0.072 130)
XYZxyz(3.1078, 4.3925, 1.3934)
Luminance0.0439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4115 #291541
analogous
#413F15 #2D4115 #174115
triadic
#2D4115 #152D41 #41152D
tetradic
#2D4115 #15413F #291541 #411517
square
#2D4115 #15413F #291541 #411517
split-complementary
#2D4115 #151741 #3F1541
monochromatic
#101707 #101707 #2D4115 #4D6F24 #6D9E33

Accessibility & contrast

On white

11.18
#2D4115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D4115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4115
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4115#FFFFFF#000000##FFFFFF
##2D41151.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C10
Deuteranopia (green-blind)
#413B18
Tritanopia (blue-blind)
#2E3E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d4115;
/* rgb */ color: rgb(45, 65, 21);
/* oklch */ color: oklch(34.7% 0.072 130.0);
Tailwind
colors: {
  custom: {
    50: '#687554',
    500: '#2d4115',
    950: '#000000',
  },
}
SCSS
$custom: #2d4115;
$custom-light: #687554;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4115",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 87.273,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34719,
    "c": 0.07221,
    "h": 130
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#2D4115
secondary
#563979
accent
#4DDB8D
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2D4115

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

Preview Lab → · Contrast checker → · Palette generator →

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