#2C4605#2C4605

#2C4605 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.093 H 130.2°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2C4605
RGBrgb(44, 70, 5)
HSLhsl(84, 87%, 15%)
HSVhsv(84, 93%, 27%)
CMYKcmyk(37.1%, 0%, 92.9%, 72.5%)
CIE-LABlab(26.52, -20.91, 32.53)
CIE-LCHlch(26.52, 38.67, 122.73°)
OKLaboklab(35.96% -0.0598 0.0709)
OKLCHoklch(35.96% 0.093 130.2)
XYZxyz(3.2562, 4.9266, 0.9229)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4605 #1F0546
analogous
#464005 #2C4605 #0B4605
triadic
#2C4605 #052C46 #46052C
tetradic
#2C4605 #054640 #1F0546 #46050B
square
#2C4605 #054640 #1F0546 #46050B
split-complementary
#2C4605 #050B46 #400546
monochromatic
#121D02 #121D02 #2C4605 #507F09 #74B80D

Accessibility & contrast

On white

10.58
#2C4605 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C4605 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4605
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4605#FFFFFF#000000##FFFFFF
##2C46051.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0C
Tritanopia (blue-blind)
#2D423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c4605;
/* rgb */ color: rgb(44, 70, 5);
/* oklch */ color: oklch(36.0% 0.093 130.2);
Tailwind
colors: {
  custom: {
    50: '#68794c',
    500: '#2c4605',
    950: '#000000',
  },
}
SCSS
$custom: #2c4605;
$custom-light: #68794c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4605",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 5
  },
  "hsl": {
    "h": 84,
    "s": 86.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.35958,
    "c": 0.09274,
    "h": 130.2
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#2C4605
secondary
#492186
accent
#2BFD7F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2C4605

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

Preview Lab → · Contrast checker → · Palette generator →

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