#2C3B04#2C3B04

#2C3B04 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.7% C 0.078 H 124.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2C3B04
RGBrgb(44, 59, 4)
HSLhsl(76, 87%, 12%)
HSVhsv(76, 93%, 23%)
CMYKcmyk(25.4%, 0%, 93.2%, 76.9%)
CIE-LABlab(22.56, -15.06, 29.09)
CIE-LCHlch(22.56, 32.76, 117.38°)
OKLaboklab(32.73% -0.0441 0.0642)
OKLCHoklch(32.73% 0.078 124.5)
XYZxyz(2.6246, 3.6721, 0.6854)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B04 #13043B
analogous
#3B2F04 #2C3B04 #103B04
triadic
#2C3B04 #042C3B #3B042C
tetradic
#2C3B04 #043B2F #13043B #3B0410
square
#2C3B04 #043B2F #13043B #3B0410
split-complementary
#2C3B04 #04103B #2F043B
monochromatic
#151D02 #151D02 #2C3B04 #577408 #81AE0C

Accessibility & contrast

On white

12.11
#2C3B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C3B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B04
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B04#FFFFFF#000000##FFFFFF
##2C3B041.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3D3609
Tritanopia (blue-blind)
#2F3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c3b04;
/* rgb */ color: rgb(44, 59, 4);
/* oklch */ color: oklch(32.7% 0.078 124.5);
Tailwind
colors: {
  custom: {
    50: '#67714a',
    500: '#2c3b04',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b04;
$custom-light: #67714a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b04",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 76.364,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32729,
    "c": 0.07792,
    "h": 124.5
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#2C3B04
secondary
#381E7D
accent
#2AFD64
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3B04

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

Preview Lab → · Contrast checker → · Palette generator →

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