#2C540D#2C540D

#2C540D is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.108 H 135.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2C540D
RGBrgb(44, 84, 13)
HSLhsl(94, 73%, 19%)
HSVhsv(94, 85%, 33%)
CMYKcmyk(47.6%, 0%, 84.5%, 67.1%)
CIE-LABlab(31.59, -27.22, 34.24)
CIE-LCHlch(31.59, 43.74, 128.49°)
OKLaboklab(40.12% -0.0762 0.076)
OKLCHoklch(40.12% 0.108 135.1)
XYZxyz(4.2816, 6.9049, 1.4879)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C540D #350D54
analogous
#50540D #2C540D #0D5412
triadic
#2C540D #0D2C54 #540D2C
tetradic
#2C540D #0D5054 #350D54 #54120D
square
#2C540D #0D5054 #350D54 #54120D
split-complementary
#2C540D #120D54 #540D50
monochromatic
#0E1A04 #101F05 #2C540D #488915 #64BE1D

Accessibility & contrast

On white

8.82
#2C540D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2C540D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C540D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C540D#FFFFFF#000000##FFFFFF
##2C540D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c540d;
/* rgb */ color: rgb(44, 84, 13);
/* oklch */ color: oklch(40.1% 0.108 135.1);
Tailwind
colors: {
  custom: {
    50: '#6a8452',
    500: '#2c540d',
    950: '#000000',
  },
}
SCSS
$custom: #2c540d;
$custom-light: #6a8452;
$custom-dark: #000000;
JSON
{
  "hex": "#2c540d",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 13
  },
  "hsl": {
    "h": 93.803,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40118,
    "c": 0.10762,
    "h": 135.1
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#2C540D
secondary
#652E8F
accent
#38F0A0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2C540D

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

Preview Lab → · Contrast checker → · Palette generator →

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