#2C3F0E#2C3F0E

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

Color values

HEX#2C3F0E
RGBrgb(44, 63, 14)
HSLhsl(83, 64%, 15%)
HSVhsv(83, 78%, 25%)
CMYKcmyk(30.2%, 0%, 77.8%, 75.3%)
CIE-LABlab(24.07, -16.56, 26.40)
CIE-LCHlch(24.07, 31.17, 122.10°)
OKLaboklab(33.98% -0.0472 0.0598)
OKLCHoklch(33.98% 0.076 128.3)
XYZxyz(2.8955, 4.1221, 1.0585)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F0E #210E3F
analogous
#3F390E #2C3F0E #143F0E
triadic
#2C3F0E #0E2C3F #3F0E2C
tetradic
#2C3F0E #0E3F39 #210E3F #3F0E14
square
#2C3F0E #0E3F39 #210E3F #3F0E14
split-complementary
#2C3F0E #0E143F #390E3F
monochromatic
#111906 #111906 #2C3F0E #4F7119 #72A324

Accessibility & contrast

On white

11.51
#2C3F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3F0E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F0E#FFFFFF#000000##FFFFFF
##2C3F0E1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A07
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#2E3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3f0e;
/* rgb */ color: rgb(44, 63, 14);
/* oklch */ color: oklch(34.0% 0.076 128.3);
Tailwind
colors: {
  custom: {
    50: '#677450',
    500: '#2c3f0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f0e;
$custom-light: #677450;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f0e",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 14
  },
  "hsl": {
    "h": 83.265,
    "s": 63.636,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33982,
    "c": 0.07616,
    "h": 128.3
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#2C3F0E
secondary
#4C2F7A
accent
#41E781
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C3F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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