#2D6013#2D6013

#2D6013 is a dark, moderate yellow-green. Relative luminance 0.090; OKLCH L 43.7% C 0.120 H 137.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2D6013
RGBrgb(45, 96, 19)
HSLhsl(100, 67%, 23%)
HSVhsv(100, 80%, 38%)
CMYKcmyk(53.1%, 0%, 80.2%, 62.4%)
CIE-LABlab(35.93, -31.82, 36.20)
CIE-LCHlch(35.93, 48.20, 131.31°)
OKLaboklab(43.71% -0.0882 0.0811)
OKLCHoklch(43.71% 0.12 137.4)
XYZxyz(5.3824, 8.9703, 2.0638)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6013 #461360
analogous
#546013 #2D6013 #13601F
triadic
#2D6013 #132D60 #60132D
tetradic
#2D6013 #135460 #461360 #601F13
square
#2D6013 #135460 #461360 #601F13
split-complementary
#2D6013 #1F1360 #601354
monochromatic
#0C1A05 #152D09 #2D6013 #45931D #5DC627

Accessibility & contrast

On white

7.52
#2D6013 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D6013 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D6013
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6013#FFFFFF#000000##FFFFFF
##2D60131.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635704
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#2A5C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d6013;
/* rgb */ color: rgb(45, 96, 19);
/* oklch */ color: oklch(43.7% 0.120 137.4);
Tailwind
colors: {
  custom: {
    50: '#6c8e57',
    500: '#2d6013',
    950: '#000000',
  },
}
SCSS
$custom: #2d6013;
$custom-light: #6c8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6013",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 99.74,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.43707,
    "c": 0.11982,
    "h": 137.4
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#2D6013
secondary
#773798
accent
#3EEAB0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2D6013

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

Preview Lab → · Contrast checker → · Palette generator →

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