#2D530E#2D530E

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

Color values

HEX#2D530E
RGBrgb(45, 83, 14)
HSLhsl(93, 71%, 19%)
HSVhsv(93, 83%, 33%)
CMYKcmyk(45.8%, 0%, 83.1%, 67.5%)
CIE-LABlab(31.29, -26.31, 33.60)
CIE-LCHlch(31.29, 42.68, 128.06°)
OKLaboklab(39.89% -0.0737 0.0749)
OKLCHoklch(39.89% 0.105 134.6)
XYZxyz(4.2546, 6.7759, 1.4991)
Luminance0.0678 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D530E #340E53
analogous
#50530E #2D530E #0E5311
triadic
#2D530E #0E2D53 #530E2D
tetradic
#2D530E #0E5053 #340E53 #53110E
square
#2D530E #0E5053 #340E53 #53110E
split-complementary
#2D530E #110E53 #530E50
monochromatic
#0E1A04 #111F05 #2D530E #498717 #66BC20

Accessibility & contrast

On white

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

On black

2.36
#2D530E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D530E#FFFFFF#000000##FFFFFF
##2D530E1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d530e;
/* rgb */ color: rgb(45, 83, 14);
/* oklch */ color: oklch(39.9% 0.105 134.6);
Tailwind
colors: {
  custom: {
    50: '#6a8453',
    500: '#2d530e',
    950: '#000000',
  },
}
SCSS
$custom: #2d530e;
$custom-light: #6a8453;
$custom-dark: #000000;
JSON
{
  "hex": "#2d530e",
  "rgb": {
    "r": 45,
    "g": 83,
    "b": 14
  },
  "hsl": {
    "h": 93.043,
    "s": 71.134,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39889,
    "c": 0.10505,
    "h": 134.6
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

primary
#2D530E
secondary
#632F8D
accent
#3AEE9D
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2D530E

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

Preview Lab → · Contrast checker → · Palette generator →

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