#2C3C0B#2C3C0B

#2C3C0B is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.074 H 126.1°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#2C3C0B
RGBrgb(44, 60, 11)
HSLhsl(80, 69%, 14%)
HSVhsv(80, 82%, 24%)
CMYKcmyk(26.7%, 0%, 81.7%, 76.5%)
CIE-LABlab(22.97, -15.13, 26.65)
CIE-LCHlch(22.97, 30.65, 119.58°)
OKLaboklab(33.08% -0.0435 0.0598)
OKLCHoklch(33.08% 0.074 126.1)
XYZxyz(2.7150, 3.7913, 0.9053)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3C0B #1B0B3C
analogous
#3C340B #2C3C0B #143C0B
triadic
#2C3C0B #0B2C3C #3C0B2C
tetradic
#2C3C0B #0B3C34 #1B0B3C #3C0B14
square
#2C3C0B #0B3C34 #1B0B3C #3C0B14
split-complementary
#2C3C0B #0B143C #340B3C
monochromatic
#131A05 #131A05 #2C3C0B #527014 #78A31E

Accessibility & contrast

On white

11.94
#2C3C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C3C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3C0B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3C0B#FFFFFF#000000##FFFFFF
##2C3C0B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403704
Deuteranopia (green-blind)
#3D370F
Tritanopia (blue-blind)
#2E3932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c3c0b;
/* rgb */ color: rgb(44, 60, 11);
/* oklch */ color: oklch(33.1% 0.074 126.1);
Tailwind
colors: {
  custom: {
    50: '#67714e',
    500: '#2c3c0b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3c0b;
$custom-light: #67714e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3c0b",
  "rgb": {
    "r": 44,
    "g": 60,
    "b": 11
  },
  "hsl": {
    "h": 79.592,
    "s": 69.014,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3308,
    "c": 0.07399,
    "h": 126.1
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#2C3C0B
secondary
#442A79
accent
#3CEC75
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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