#2D5113#2D5113

#2D5113 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.099 H 134.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2D5113
RGBrgb(45, 81, 19)
HSLhsl(95, 62%, 20%)
HSVhsv(95, 77%, 32%)
CMYKcmyk(44.4%, 0%, 76.5%, 68.2%)
CIE-LABlab(30.62, -24.97, 30.88)
CIE-LCHlch(30.62, 39.71, 128.97°)
OKLaboklab(39.35% -0.0697 0.07)
OKLCHoklch(39.35% 0.099 134.9)
XYZxyz(4.1421, 6.4895, 1.6503)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5113 #371351
analogous
#4C5113 #2D5113 #135118
triadic
#2D5113 #132D51 #51132D
tetradic
#2D5113 #134C51 #371351 #511813
square
#2D5113 #134C51 #371351 #511813
split-complementary
#2D5113 #181351 #51134C
monochromatic
#0E1906 #111F07 #2D5113 #49831F #64B42A

Accessibility & contrast

On white

9.14
#2D5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2D5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5113
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5113#FFFFFF#000000##FFFFFF
##2D51131.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A09
Deuteranopia (green-blind)
#4F4719
Tritanopia (blue-blind)
#2C4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2d5113;
/* rgb */ color: rgb(45, 81, 19);
/* oklch */ color: oklch(39.3% 0.099 134.9);
Tailwind
colors: {
  custom: {
    50: '#6a8255',
    500: '#2d5113',
    950: '#000000',
  },
}
SCSS
$custom: #2d5113;
$custom-light: #6a8255;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5113",
  "rgb": {
    "r": 45,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 94.839,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39347,
    "c": 0.09878,
    "h": 134.9
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#2D5113
secondary
#67368A
accent
#43E5A1
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2D5113

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

Preview Lab → · Contrast checker → · Palette generator →

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