#2C540E#2C540E

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

Color values

HEX#2C540E
RGBrgb(44, 84, 14)
HSLhsl(94, 71%, 19%)
HSVhsv(94, 83%, 33%)
CMYKcmyk(47.6%, 0%, 83.3%, 67.1%)
CIE-LABlab(31.60, -27.16, 33.88)
CIE-LCHlch(31.60, 43.42, 128.72°)
OKLaboklab(40.13% -0.0759 0.0754)
OKLCHoklch(40.13% 0.107 135.2)
XYZxyz(4.2882, 6.9076, 1.5227)
Luminance0.0691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C540E #360E54
analogous
#4F540E #2C540E #0E5413
triadic
#2C540E #0E2C54 #540E2C
tetradic
#2C540E #0E4F54 #360E54 #54130E
square
#2C540E #0E4F54 #360E54 #54130E
split-complementary
#2C540E #130E54 #540E4F
monochromatic
#0E1A04 #112005 #2C540E #478817 #63BD1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C540E#FFFFFF#000000##FFFFFF
##2C540E1.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)
#574C01
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#2B5047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c540e;
/* rgb */ color: rgb(44, 84, 14);
/* oklch */ color: oklch(40.1% 0.107 135.2);
Tailwind
colors: {
  custom: {
    50: '#6a8453',
    500: '#2c540e',
    950: '#000000',
  },
}
SCSS
$custom: #2c540e;
$custom-light: #6a8453;
$custom-dark: #000000;
JSON
{
  "hex": "#2c540e",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 14
  },
  "hsl": {
    "h": 94.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40125,
    "c": 0.10703,
    "h": 135.2
  },
  "luminance": 0.06908
}

Semantic roles & 50–950 ramp

primary
#2C540E
secondary
#662F8E
accent
#3AEEA1
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C540E

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

Preview Lab → · Contrast checker → · Palette generator →

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