#2C3D07#2C3D07

#2C3D07 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.3% C 0.078 H 126.1°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2C3D07
RGBrgb(44, 61, 7)
HSLhsl(79, 79%, 13%)
HSVhsv(79, 89%, 24%)
CMYKcmyk(27.9%, 0%, 88.5%, 76.1%)
CIE-LABlab(23.30, -15.97, 28.63)
CIE-LCHlch(23.30, 32.78, 119.16°)
OKLaboklab(33.34% -0.0463 0.0634)
OKLCHoklch(33.34% 0.078 126.1)
XYZxyz(2.7458, 3.8883, 0.8068)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D07 #18073D
analogous
#3D3307 #2C3D07 #113D07
triadic
#2C3D07 #072C3D #3D072C
tetradic
#2C3D07 #073D33 #18073D #3D0711
square
#2C3D07 #073D33 #18073D #3D0711
split-complementary
#2C3D07 #07113D #33073D
monochromatic
#141B03 #141B03 #2C3D07 #54740D #7BAB14

Accessibility & contrast

On white

11.81
#2C3D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3D07
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D07#FFFFFF#000000##FFFFFF
##2C3D071.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413800
Deuteranopia (green-blind)
#3E370C
Tritanopia (blue-blind)
#2E3A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c3d07;
/* rgb */ color: rgb(44, 61, 7);
/* oklch */ color: oklch(33.3% 0.078 126.1);
Tailwind
colors: {
  custom: {
    50: '#67724c',
    500: '#2c3d07',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d07;
$custom-light: #67724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d07",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 78.889,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33337,
    "c": 0.07847,
    "h": 126.1
  },
  "luminance": 0.03888
}

Semantic roles & 50–950 ramp

primary
#2C3D07
secondary
#3F237C
accent
#32F670
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C3D07

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

Preview Lab → · Contrast checker → · Palette generator →

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