#2D530D#2D530D

#2D530D is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.106 H 134.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2D530D
RGBrgb(45, 83, 13)
HSLhsl(93, 73%, 19%)
HSVhsv(93, 84%, 33%)
CMYKcmyk(45.8%, 0%, 84.3%, 67.5%)
CIE-LABlab(31.28, -26.37, 33.97)
CIE-LCHlch(31.28, 43.00, 127.83°)
OKLaboklab(39.88% -0.074 0.0754)
OKLCHoklch(39.88% 0.106 134.4)
XYZxyz(4.2480, 6.7732, 1.4642)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D530D #330D53
analogous
#50530D #2D530D #0D5310
triadic
#2D530D #0D2D53 #530D2D
tetradic
#2D530D #0D5053 #330D53 #53100D
square
#2D530D #0D5053 #330D53 #53100D
split-complementary
#2D530D #100D53 #530D50
monochromatic
#0E1A04 #101E05 #2D530D #4A8815 #66BD1E

Accessibility & contrast

On white

8.92
#2D530D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2D530D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D530D
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D530D#FFFFFF#000000##FFFFFF
##2D530D1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C00
Deuteranopia (green-blind)
#514915
Tritanopia (blue-blind)
#2C4F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d530d;
/* rgb */ color: rgb(45, 83, 13);
/* oklch */ color: oklch(39.9% 0.106 134.4);
Tailwind
colors: {
  custom: {
    50: '#6a8452',
    500: '#2d530d',
    950: '#000000',
  },
}
SCSS
$custom: #2d530d;
$custom-light: #6a8452;
$custom-dark: #000000;
JSON
{
  "hex": "#2d530d",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 13
  },
  "hsl": {
    "h": 92.571,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39882,
    "c": 0.10565,
    "h": 134.4
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#2D530D
secondary
#622E8E
accent
#38F09C
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2D530D

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

Preview Lab → · Contrast checker → · Palette generator →

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