#2C5C0E#2C5C0E

#2C5C0E is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.5% C 0.118 H 136.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2C5C0E
RGBrgb(44, 92, 14)
HSLhsl(97, 74%, 21%)
HSVhsv(97, 85%, 36%)
CMYKcmyk(52.2%, 0%, 84.8%, 63.9%)
CIE-LABlab(34.44, -30.75, 36.57)
CIE-LCHlch(34.44, 47.78, 130.06°)
OKLaboklab(42.46% -0.0856 0.0811)
OKLCHoklch(42.46% 0.118 136.5)
XYZxyz(4.9450, 8.2211, 1.7416)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5C0E #3E0E5C
analogous
#535C0E #2C5C0E #0E5C17
triadic
#2C5C0E #0E2C5C #5C0E2C
tetradic
#2C5C0E #0E535C #3E0E5C #5C170E
square
#2C5C0E #0E535C #3E0E5C #5C170E
split-complementary
#2C5C0E #170E5C #5C0E53
monochromatic
#0D1B04 #132706 #2C5C0E #459116 #5FC61E

Accessibility & contrast

On white

7.94
#2C5C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2C5C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5C0E
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5C0E#FFFFFF#000000##FFFFFF
##2C5C0E1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#595017
Tritanopia (blue-blind)
#29584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5c0e;
/* rgb */ color: rgb(44, 92, 14);
/* oklch */ color: oklch(42.5% 0.118 136.5);
Tailwind
colors: {
  custom: {
    50: '#6b8a54',
    500: '#2c5c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c5c0e;
$custom-light: #6b8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5c0e",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 14
  },
  "hsl": {
    "h": 96.923,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42461,
    "c": 0.11791,
    "h": 136.5
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#2C5C0E
secondary
#6F3096
accent
#38F0A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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