#2C4207#2C4207

#2C4207 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.086 H 128.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2C4207
RGBrgb(44, 66, 7)
HSLhsl(82, 81%, 14%)
HSVhsv(82, 89%, 26%)
CMYKcmyk(33.3%, 0%, 89.4%, 74.1%)
CIE-LABlab(25.10, -18.69, 30.40)
CIE-LCHlch(25.10, 35.68, 121.58°)
OKLaboklab(34.8% -0.0536 0.0669)
OKLCHoklch(34.8% 0.086 128.7)
XYZxyz(3.0253, 4.4472, 0.9000)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4207 #1D0742
analogous
#423B07 #2C4207 #0F4207
triadic
#2C4207 #072C42 #42072C
tetradic
#2C4207 #07423B #1D0742 #42070F
square
#2C4207 #07423B #1D0742 #42070F
split-complementary
#2C4207 #070F42 #3B0742
monochromatic
#121C03 #121C03 #2C4207 #51790D #76B113

Accessibility & contrast

On white

11.11
#2C4207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C4207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4207
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4207#FFFFFF#000000##FFFFFF
##2C42071.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0D
Tritanopia (blue-blind)
#2E3F37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c4207;
/* rgb */ color: rgb(44, 66, 7);
/* oklch */ color: oklch(34.8% 0.086 128.7);
Tailwind
colors: {
  custom: {
    50: '#68764c',
    500: '#2c4207',
    950: '#000000',
  },
}
SCSS
$custom: #2c4207;
$custom-light: #68764c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4207",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 82.373,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.348,
    "c": 0.08573,
    "h": 128.7
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#2C4207
secondary
#472481
accent
#31F77B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4207

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

Preview Lab → · Contrast checker → · Palette generator →

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