#2D5B13#2D5B13

#2D5B13 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.113 H 136.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2D5B13
RGBrgb(45, 91, 19)
HSLhsl(98, 65%, 22%)
HSVhsv(98, 79%, 36%)
CMYKcmyk(50.5%, 0%, 79.1%, 64.3%)
CIE-LABlab(34.16, -29.62, 34.46)
CIE-LCHlch(34.16, 45.44, 130.67°)
OKLaboklab(42.26% -0.0823 0.0775)
OKLCHoklch(42.26% 0.113 136.7)
XYZxyz(4.9407, 8.0868, 1.9165)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B13 #41135B
analogous
#515B13 #2D5B13 #135B1D
triadic
#2D5B13 #132D5B #5B132D
tetradic
#2D5B13 #13515B #41135B #5B1D13
square
#2D5B13 #13515B #41135B #5B1D13
split-complementary
#2D5B13 #1D135B #5B1351
monochromatic
#0D1905 #142808 #2D5B13 #468E1E #5FC028

Accessibility & contrast

On white

8.02
#2D5B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D5B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5B13
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B13#FFFFFF#000000##FFFFFF
##2D5B131.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5306
Deuteranopia (green-blind)
#584F1A
Tritanopia (blue-blind)
#2B574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5b13;
/* rgb */ color: rgb(45, 91, 19);
/* oklch */ color: oklch(42.3% 0.113 136.7);
Tailwind
colors: {
  custom: {
    50: '#6b8a56',
    500: '#2d5b13',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b13;
$custom-light: #6b8a56;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b13",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 98.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.113,
    "h": 136.7
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#2D5B13
secondary
#723793
accent
#3FE8AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2D5B13

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

Preview Lab → · Contrast checker → · Palette generator →

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