#2C3D0F#2C3D0F

#2C3D0F is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.072 H 127.3°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#2C3D0F
RGBrgb(44, 61, 15)
HSLhsl(82, 61%, 15%)
HSVhsv(82, 75%, 24%)
CMYKcmyk(27.9%, 0%, 75.4%, 76.1%)
CIE-LABlab(23.36, -15.36, 25.18)
CIE-LCHlch(23.36, 29.49, 121.39°)
OKLaboklab(33.41% -0.0438 0.0574)
OKLCHoklch(33.41% 0.072 127.3)
XYZxyz(2.7937, 3.9074, 1.0589)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D0F #200F3D
analogous
#3D370F #2C3D0F #153D0F
triadic
#2C3D0F #0F2C3D #3D0F2C
tetradic
#2C3D0F #0F3D37 #200F3D #3D0F15
square
#2C3D0F #0F3D37 #200F3D #3D0F15
split-complementary
#2C3D0F #0F153D #370F3D
monochromatic
#121906 #121906 #2C3D0F #4F6E1B #739F27

Accessibility & contrast

On white

11.79
#2C3D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C3D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D0F
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D0F#FFFFFF#000000##FFFFFF
##2C3D0F1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403809
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#2E3A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c3d0f;
/* rgb */ color: rgb(44, 61, 15);
/* oklch */ color: oklch(33.4% 0.072 127.3);
Tailwind
colors: {
  custom: {
    50: '#677250',
    500: '#2c3d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d0f;
$custom-light: #677250;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d0f",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 15
  },
  "hsl": {
    "h": 82.174,
    "s": 60.526,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3341,
    "c": 0.07218,
    "h": 127.3
  },
  "luminance": 0.03907
}

Semantic roles & 50–950 ramp

primary
#2C3D0F
secondary
#4B3077
accent
#44E47F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C3D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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