#2C3A04#2C3A04

#2C3A04 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.4% C 0.076 H 123.8°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2C3A04
RGBrgb(44, 58, 4)
HSLhsl(76, 87%, 12%)
HSVhsv(76, 93%, 23%)
CMYKcmyk(24.1%, 0%, 93.1%, 77.3%)
CIE-LABlab(22.20, -14.50, 28.71)
CIE-LCHlch(22.20, 32.16, 116.79°)
OKLaboklab(32.44% -0.0426 0.0635)
OKLCHoklch(32.44% 0.077 123.8)
XYZxyz(2.5737, 3.5703, 0.6684)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A04 #12043A
analogous
#3A2D04 #2C3A04 #113A04
triadic
#2C3A04 #042C3A #3A042C
tetradic
#2C3A04 #043A2D #12043A #3A0411
square
#2C3A04 #043A2D #12043A #3A0411
split-complementary
#2C3A04 #04113A #2D043A
monochromatic
#161D02 #161D02 #2C3A04 #577308 #83AD0C

Accessibility & contrast

On white

12.25
#2C3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2C3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A04
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A04#FFFFFF#000000##FFFFFF
##2C3A041.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3C3509
Tritanopia (blue-blind)
#2F3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c3a04;
/* rgb */ color: rgb(44, 58, 4);
/* oklch */ color: oklch(32.4% 0.076 123.8);
Tailwind
colors: {
  custom: {
    50: '#67704a',
    500: '#2c3a04',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a04;
$custom-light: #67704a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a04",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 75.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32437,
    "c": 0.0765,
    "h": 123.8
  },
  "luminance": 0.0357
}

Semantic roles & 50–950 ramp

primary
#2C3A04
secondary
#361E7C
accent
#2BFD61
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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