#2C3F0C#2C3F0C

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

Color values

HEX#2C3F0C
RGBrgb(44, 63, 12)
HSLhsl(82, 68%, 15%)
HSVhsv(82, 81%, 25%)
CMYKcmyk(30.2%, 0%, 81%, 75.3%)
CIE-LABlab(24.05, -16.72, 27.31)
CIE-LCHlch(24.05, 32.02, 121.48°)
OKLaboklab(33.96% -0.0478 0.0613)
OKLCHoklch(33.96% 0.078 127.9)
XYZxyz(2.8826, 4.1170, 0.9905)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F0C #1F0C3F
analogous
#3F390C #2C3F0C #133F0C
triadic
#2C3F0C #0C2C3F #3F0C2C
tetradic
#2C3F0C #0C3F39 #1F0C3F #3F0C13
square
#2C3F0C #0C3F39 #1F0C3F #3F0C13
split-complementary
#2C3F0C #0C133F #390C3F
monochromatic
#121A05 #121A05 #2C3F0C #507216 #74A620

Accessibility & contrast

On white

11.52
#2C3F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C3F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F0C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F0C#FFFFFF#000000##FFFFFF
##2C3F0C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A05
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#2E3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3f0c;
/* rgb */ color: rgb(44, 63, 12);
/* oklch */ color: oklch(34.0% 0.078 127.9);
Tailwind
colors: {
  custom: {
    50: '#67744e',
    500: '#2c3f0c',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f0c;
$custom-light: #67744e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f0c",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 12
  },
  "hsl": {
    "h": 82.353,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.33963,
    "c": 0.07777,
    "h": 127.9
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#2C3F0C
secondary
#492C7B
accent
#3DEB7E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C3F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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