#2C3A08#2C3A08

#2C3A08 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.073 H 124.3°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2C3A08
RGBrgb(44, 58, 8)
HSLhsl(77, 76%, 13%)
HSVhsv(77, 86%, 23%)
CMYKcmyk(24.1%, 0%, 86.2%, 77.3%)
CIE-LABlab(22.23, -14.21, 27.11)
CIE-LCHlch(22.23, 30.61, 117.65°)
OKLaboklab(32.47% -0.0413 0.0605)
OKLCHoklch(32.47% 0.073 124.3)
XYZxyz(2.5956, 3.5791, 0.7838)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A08 #16083A
analogous
#3A2F08 #2C3A08 #133A08
triadic
#2C3A08 #082C3A #3A082C
tetradic
#2C3A08 #083A2F #16083A #3A0813
square
#2C3A08 #083A2F #16083A #3A0813
split-complementary
#2C3A08 #08133A #2F083A
monochromatic
#141B04 #141B04 #2C3A08 #55700F #7EA617

Accessibility & contrast

On white

12.24
#2C3A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2C3A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A08
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A08#FFFFFF#000000##FFFFFF
##2C3A081.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3601
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#2F3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c3a08;
/* rgb */ color: rgb(44, 58, 8);
/* oklch */ color: oklch(32.5% 0.073 124.3);
Tailwind
colors: {
  custom: {
    50: '#67704c',
    500: '#2c3a08',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a08;
$custom-light: #67704c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a08",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 76.8,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32473,
    "c": 0.07329,
    "h": 124.3
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#2C3A08
secondary
#3C2579
accent
#35F26A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3A08

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

Preview Lab → · Contrast checker → · Palette generator →

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