#2C3F12#2C3F12

#2C3F12 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.073 H 129.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2C3F12
RGBrgb(44, 63, 18)
HSLhsl(85, 56%, 16%)
HSVhsv(85, 71%, 25%)
CMYKcmyk(30.2%, 0%, 71.4%, 75.3%)
CIE-LABlab(24.11, -16.19, 24.45)
CIE-LCHlch(24.11, 29.33, 123.52°)
OKLaboklab(34.03% -0.0457 0.0563)
OKLCHoklch(34.03% 0.073 129.1)
XYZxyz(2.9254, 4.1341, 1.2160)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F12 #25123F
analogous
#3F3B12 #2C3F12 #153F12
triadic
#2C3F12 #122C3F #3F122C
tetradic
#2C3F12 #123F3B #25123F #3F1215
square
#2C3F12 #123F3B #25123F #3F1215
split-complementary
#2C3F12 #12153F #3B123F
monochromatic
#111807 #111807 #2C3F12 #4D6F20 #6E9E2D

Accessibility & contrast

On white

11.50
#2C3F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C3F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F12
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F12#FFFFFF#000000##FFFFFF
##2C3F121.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0D
Deuteranopia (green-blind)
#403915
Tritanopia (blue-blind)
#2D3C36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3f12;
/* rgb */ color: rgb(44, 63, 18);
/* oklch */ color: oklch(34.0% 0.073 129.1);
Tailwind
colors: {
  custom: {
    50: '#677452',
    500: '#2c3f12',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f12;
$custom-light: #677452;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f12",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 18
  },
  "hsl": {
    "h": 85.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34025,
    "c": 0.07255,
    "h": 129.1
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#2C3F12
secondary
#513578
accent
#49DF88
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C3F12

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

Preview Lab → · Contrast checker → · Palette generator →

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