#2C4308#2C4308

#2C4308 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.1% C 0.086 H 129.3°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2C4308
RGBrgb(44, 67, 8)
HSLhsl(83, 79%, 15%)
HSVhsv(83, 88%, 26%)
CMYKcmyk(34.3%, 0%, 88.1%, 73.7%)
CIE-LABlab(25.46, -19.15, 30.34)
CIE-LCHlch(25.46, 35.88, 122.26°)
OKLaboklab(35.1% -0.0548 0.0669)
OKLCHoklch(35.1% 0.087 129.3)
XYZxyz(3.0897, 4.5672, 0.9485)
Luminance0.0457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4308 #1F0843
analogous
#433D08 #2C4308 #0E4308
triadic
#2C4308 #082C43 #43082C
tetradic
#2C4308 #08433D #1F0843 #43080E
square
#2C4308 #08433D #1F0843 #43080E
split-complementary
#2C4308 #080E43 #3D0843
monochromatic
#121B03 #121B03 #2C4308 #507A0F #74B015

Accessibility & contrast

On white

10.98
#2C4308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C4308 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4308
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4308#FFFFFF#000000##FFFFFF
##2C43081.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473D00
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#2E4038
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c4308;
/* rgb */ color: rgb(44, 67, 8);
/* oklch */ color: oklch(35.1% 0.086 129.3);
Tailwind
colors: {
  custom: {
    50: '#68774d',
    500: '#2c4308',
    950: '#000000',
  },
}
SCSS
$custom: #2c4308;
$custom-light: #68774d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4308",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 8
  },
  "hsl": {
    "h": 83.39,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.351,
    "c": 0.0865,
    "h": 129.3
  },
  "luminance": 0.04567
}

Semantic roles & 50–950 ramp

primary
#2C4308
secondary
#492581
accent
#33F57E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4308

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

Preview Lab → · Contrast checker → · Palette generator →

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