#2C3904#2C3904

#2C3904 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.1% C 0.075 H 123.1°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2C3904
RGBrgb(44, 57, 4)
HSLhsl(75, 87%, 12%)
HSVhsv(75, 93%, 22%)
CMYKcmyk(22.8%, 0%, 93%, 77.6%)
CIE-LABlab(21.84, -13.92, 28.33)
CIE-LCHlch(21.84, 31.57, 116.18°)
OKLaboklab(32.15% -0.0411 0.0629)
OKLCHoklch(32.15% 0.075 123.1)
XYZxyz(2.5238, 3.4705, 0.6517)
Luminance0.0347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3904 #110439
analogous
#392C04 #2C3904 #123904
triadic
#2C3904 #042C39 #39042C
tetradic
#2C3904 #04392C #110439 #390412
square
#2C3904 #04392C #110439 #390412
split-complementary
#2C3904 #041239 #2C0439
monochromatic
#161D02 #161D02 #2C3904 #587208 #84AB0C

Accessibility & contrast

On white

12.40
#2C3904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2C3904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3904
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3904#FFFFFF#000000##FFFFFF
##2C39041.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3B3409
Tritanopia (blue-blind)
#2F362F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2c3904;
/* rgb */ color: rgb(44, 57, 4);
/* oklch */ color: oklch(32.1% 0.075 123.1);
Tailwind
colors: {
  custom: {
    50: '#676f4a',
    500: '#2c3904',
    950: '#000000',
  },
}
SCSS
$custom: #2c3904;
$custom-light: #676f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3904",
  "rgb": {
    "r": 44,
    "g": 57,
    "b": 4
  },
  "hsl": {
    "h": 74.717,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32146,
    "c": 0.07508,
    "h": 123.1
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#2C3904
secondary
#351E7B
accent
#2BFD5E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3904

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

Preview Lab → · Contrast checker → · Palette generator →

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