#2C3908#2C3908

#2C3908 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.2% C 0.072 H 123.6°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#2C3908
RGBrgb(44, 57, 8)
HSLhsl(76, 75%, 13%)
HSVhsv(76, 86%, 22%)
CMYKcmyk(22.8%, 0%, 86%, 77.6%)
CIE-LABlab(21.87, -13.63, 26.73)
CIE-LCHlch(21.87, 30.01, 117.02°)
OKLaboklab(32.18% -0.0398 0.0598)
OKLCHoklch(32.18% 0.072 123.6)
XYZxyz(2.5457, 3.4792, 0.7671)
Luminance0.0348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3908 #150839
analogous
#392D08 #2C3908 #143908
triadic
#2C3908 #082C39 #39082C
tetradic
#2C3908 #08392D #150839 #390814
square
#2C3908 #08392D #150839 #390814
split-complementary
#2C3908 #081439 #2D0839
monochromatic
#151B04 #151B04 #2C3908 #556F10 #7FA417

Accessibility & contrast

On white

12.38
#2C3908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C3908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3908
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3908#FFFFFF#000000##FFFFFF
##2C39081.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3502
Deuteranopia (green-blind)
#3B340C
Tritanopia (blue-blind)
#2F3630
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c3908;
/* rgb */ color: rgb(44, 57, 8);
/* oklch */ color: oklch(32.2% 0.072 123.6);
Tailwind
colors: {
  custom: {
    50: '#676f4c',
    500: '#2c3908',
    950: '#000000',
  },
}
SCSS
$custom: #2c3908;
$custom-light: #676f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3908",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 75.918,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32182,
    "c": 0.07182,
    "h": 123.6
  },
  "luminance": 0.03479
}

Semantic roles & 50–950 ramp

primary
#2C3908
secondary
#3B2578
accent
#36F268
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3908

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

Preview Lab → · Contrast checker → · Palette generator →

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