#2C5B0E#2C5B0E

#2C5B0E is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.2% C 0.117 H 136.4°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2C5B0E
RGBrgb(44, 91, 14)
HSLhsl(97, 73%, 21%)
HSVhsv(97, 85%, 36%)
CMYKcmyk(51.6%, 0%, 84.6%, 64.3%)
CIE-LABlab(34.08, -30.31, 36.24)
CIE-LCHlch(34.08, 47.25, 129.91°)
OKLaboklab(42.17% -0.0844 0.0804)
OKLCHoklch(42.17% 0.117 136.4)
XYZxyz(4.8589, 8.0490, 1.7130)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B0E #3D0E5B
analogous
#525B0E #2C5B0E #0E5B16
triadic
#2C5B0E #0E2C5B #5B0E2C
tetradic
#2C5B0E #0E525B #3D0E5B #5B160E
square
#2C5B0E #0E525B #3D0E5B #5B160E
split-complementary
#2C5B0E #160E5B #5B0E52
monochromatic
#0D1B04 #122606 #2C5B0E #469016 #5FC51E

Accessibility & contrast

On white

8.05
#2C5B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C5B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5B0E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B0E#FFFFFF#000000##FFFFFF
##2C5B0E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5300
Deuteranopia (green-blind)
#584F17
Tritanopia (blue-blind)
#2A574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5b0e;
/* rgb */ color: rgb(44, 91, 14);
/* oklch */ color: oklch(42.2% 0.117 136.4);
Tailwind
colors: {
  custom: {
    50: '#6b8a54',
    500: '#2c5b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b0e;
$custom-light: #6b8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b0e",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 14
  },
  "hsl": {
    "h": 96.623,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.11657,
    "h": 136.4
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#2C5B0E
secondary
#6E3095
accent
#38F0A8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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