#2C4108#2C4108

#2C4108 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.084 H 128.4°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2C4108
RGBrgb(44, 65, 8)
HSLhsl(82, 78%, 14%)
HSVhsv(82, 88%, 25%)
CMYKcmyk(32.3%, 0%, 87.7%, 74.5%)
CIE-LABlab(24.74, -18.09, 29.65)
CIE-LCHlch(24.74, 34.74, 121.38°)
OKLaboklab(34.51% -0.0519 0.0655)
OKLCHoklch(34.51% 0.084 128.4)
XYZxyz(2.9728, 4.3335, 0.9095)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4108 #1D0841
analogous
#413A08 #2C4108 #104108
triadic
#2C4108 #082C41 #41082C
tetradic
#2C4108 #08413A #1D0841 #410810
square
#2C4108 #08413A #1D0841 #410810
split-complementary
#2C4108 #081041 #3A0841
monochromatic
#121B03 #121B03 #2C4108 #51770F #76AE15

Accessibility & contrast

On white

11.25
#2C4108 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C4108 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4108
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4108#FFFFFF#000000##FFFFFF
##2C41081.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0E
Tritanopia (blue-blind)
#2E3E36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c4108;
/* rgb */ color: rgb(44, 65, 8);
/* oklch */ color: oklch(34.5% 0.084 128.4);
Tailwind
colors: {
  custom: {
    50: '#68754d',
    500: '#2c4108',
    950: '#000000',
  },
}
SCSS
$custom: #2c4108;
$custom-light: #68754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4108",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 8
  },
  "hsl": {
    "h": 82.105,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34514,
    "c": 0.08359,
    "h": 128.4
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

primary
#2C4108
secondary
#47257F
accent
#33F57A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4108

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

Preview Lab → · Contrast checker → · Palette generator →

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