#2C3C08#2C3C08

#2C3C08 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.076 H 125.6°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2C3C08
RGBrgb(44, 60, 8)
HSLhsl(78, 76%, 13%)
HSVhsv(78, 87%, 24%)
CMYKcmyk(26.7%, 0%, 86.7%, 76.5%)
CIE-LABlab(22.95, -15.34, 27.86)
CIE-LCHlch(22.95, 31.81, 118.84°)
OKLaboklab(33.05% -0.0444 0.062)
OKLCHoklch(33.05% 0.076 125.6)
XYZxyz(2.6984, 3.7847, 0.8180)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C08 #18083C
analogous
#3C3208 #2C3C08 #123C08
triadic
#2C3C08 #082C3C #3C082C
tetradic
#2C3C08 #083C32 #18083C #3C0812
square
#2C3C08 #083C32 #18083C #3C0812
split-complementary
#2C3C08 #08123C #32083C
monochromatic
#141B04 #141B04 #2C3C08 #54720F #7BA816

Accessibility & contrast

On white

11.95
#2C3C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C3C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C08
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C08#FFFFFF#000000##FFFFFF
##2C3C081.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403701
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#2E3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c3c08;
/* rgb */ color: rgb(44, 60, 8);
/* oklch */ color: oklch(33.1% 0.076 125.6);
Tailwind
colors: {
  custom: {
    50: '#67714c',
    500: '#2c3c08',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c08;
$custom-light: #67714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c08",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 78.462,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33054,
    "c": 0.07625,
    "h": 125.6
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#2C3C08
secondary
#3F257B
accent
#35F36F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3C08

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

Preview Lab → · Contrast checker → · Palette generator →

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