#2D5E13#2D5E13

#2D5E13 is a dark, moderate yellow-green. Relative luminance 0.086; OKLCH L 43.1% C 0.117 H 137.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2D5E13
RGBrgb(45, 94, 19)
HSLhsl(99, 66%, 22%)
HSVhsv(99, 80%, 37%)
CMYKcmyk(52.1%, 0%, 79.8%, 63.1%)
CIE-LABlab(35.22, -30.95, 35.51)
CIE-LCHlch(35.22, 47.10, 131.07°)
OKLaboklab(43.13% -0.0858 0.0797)
OKLCHoklch(43.13% 0.117 137.1)
XYZxyz(5.2023, 8.6100, 2.0037)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E13 #44135E
analogous
#535E13 #2D5E13 #135E1F
triadic
#2D5E13 #132D5E #5E132D
tetradic
#2D5E13 #13535E #44135E #5E1F13
square
#2D5E13 #13535E #44135E #5E1F13
split-complementary
#2D5E13 #1F135E #5E1353
monochromatic
#0C1905 #152B09 #2D5E13 #45911D #5EC428

Accessibility & contrast

On white

7.71
#2D5E13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D5E13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5E13
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E13#FFFFFF#000000##FFFFFF
##2D5E131.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615504
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#2A5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d5e13;
/* rgb */ color: rgb(45, 94, 19);
/* oklch */ color: oklch(43.1% 0.117 137.1);
Tailwind
colors: {
  custom: {
    50: '#6c8c57',
    500: '#2d5e13',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e13;
$custom-light: #6c8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e13",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 19
  },
  "hsl": {
    "h": 99.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.43127,
    "c": 0.11711,
    "h": 137.1
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#2D5E13
secondary
#753796
accent
#3FE9AE
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5E13

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

Preview Lab → · Contrast checker → · Palette generator →

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