#2D5F13#2D5F13

#2D5F13 is a dark, moderate yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.118 H 137.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2D5F13
RGBrgb(45, 95, 19)
HSLhsl(99, 67%, 22%)
HSVhsv(99, 80%, 37%)
CMYKcmyk(52.6%, 0%, 80%, 62.7%)
CIE-LABlab(35.57, -31.38, 35.86)
CIE-LCHlch(35.57, 47.65, 131.19°)
OKLaboklab(43.42% -0.087 0.0804)
OKLCHoklch(43.42% 0.118 137.3)
XYZxyz(5.2918, 8.7890, 2.0336)
Luminance0.0879 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F13 #45135F
analogous
#535F13 #2D5F13 #135F1F
triadic
#2D5F13 #132D5F #5F132D
tetradic
#2D5F13 #13535F #45135F #5F1F13
square
#2D5F13 #13535F #45135F #5F1F13
split-complementary
#2D5F13 #1F135F #5F1353
monochromatic
#0C1A05 #152C09 #2D5F13 #45921D #5DC527

Accessibility & contrast

On white

7.61
#2D5F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2D5F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5F13
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F13#FFFFFF#000000##FFFFFF
##2D5F131.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625604
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#2A5B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d5f13;
/* rgb */ color: rgb(45, 95, 19);
/* oklch */ color: oklch(43.4% 0.118 137.3);
Tailwind
colors: {
  custom: {
    50: '#6c8d57',
    500: '#2d5f13',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f13;
$custom-light: #6c8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f13",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 19
  },
  "hsl": {
    "h": 99.474,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.43417,
    "c": 0.11848,
    "h": 137.3
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#2D5F13
secondary
#763797
accent
#3EEAAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D5F13

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

Preview Lab → · Contrast checker → · Palette generator →

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