#2C3A0C#2C3A0C

#2C3A0C is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.070 H 124.9°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#2C3A0C
RGBrgb(44, 58, 12)
HSLhsl(78, 66%, 14%)
HSVhsv(78, 79%, 23%)
CMYKcmyk(24.1%, 0%, 79.3%, 77.3%)
CIE-LABlab(22.26, -13.91, 25.47)
CIE-LCHlch(22.26, 29.02, 118.64°)
OKLaboklab(32.51% -0.0401 0.0575)
OKLCHoklch(32.51% 0.07 124.9)
XYZxyz(2.6181, 3.5881, 0.9024)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A0C #1A0C3A
analogous
#3A310C #2C3A0C #153A0C
triadic
#2C3A0C #0C2C3A #3A0C2C
tetradic
#2C3A0C #0C3A31 #1A0C3A #3A0C15
square
#2C3A0C #0C3A31 #1A0C3A #3A0C15
split-complementary
#2C3A0C #0C153A #310C3A
monochromatic
#131905 #131905 #2C3A0C #526D16 #799F21

Accessibility & contrast

On white

12.23
#2C3A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2C3A0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A0C
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A0C#FFFFFF#000000##FFFFFF
##2C3A0C1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3606
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#2E3731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c3a0c;
/* rgb */ color: rgb(44, 58, 12);
/* oklch */ color: oklch(32.5% 0.070 124.9);
Tailwind
colors: {
  custom: {
    50: '#67704e',
    500: '#2c3a0c',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a0c;
$custom-light: #67704e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a0c",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 12
  },
  "hsl": {
    "h": 78.261,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32509,
    "c": 0.07013,
    "h": 124.9
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#2C3A0C
secondary
#422C76
accent
#3FE973
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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