#2C3B07#2C3B07

#2C3B07 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.076 H 124.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#2C3B07
RGBrgb(44, 59, 7)
HSLhsl(77, 79%, 13%)
HSVhsv(77, 88%, 23%)
CMYKcmyk(25.4%, 0%, 88.1%, 76.9%)
CIE-LABlab(22.58, -14.85, 27.89)
CIE-LCHlch(22.58, 31.60, 118.03°)
OKLaboklab(32.76% -0.0432 0.062)
OKLCHoklch(32.76% 0.076 124.9)
XYZxyz(2.6410, 3.6787, 0.7719)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3B07 #16073B
analogous
#3B3007 #2C3B07 #123B07
triadic
#2C3B07 #072C3B #3B072C
tetradic
#2C3B07 #073B30 #16073B #3B0712
square
#2C3B07 #073B30 #16073B #3B0712
split-complementary
#2C3B07 #07123B #30073B
monochromatic
#141B03 #141B03 #2C3B07 #55720D #7EA814

Accessibility & contrast

On white

12.10
#2C3B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2C3B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3B07
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3B07#FFFFFF#000000##FFFFFF
##2C3B071.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3600
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#2F3831
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c3b07;
/* rgb */ color: rgb(44, 59, 7);
/* oklch */ color: oklch(32.8% 0.076 124.9);
Tailwind
colors: {
  custom: {
    50: '#67714b',
    500: '#2c3b07',
    950: '#000000',
  },
}
SCSS
$custom: #2c3b07;
$custom-light: #67714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3b07",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 7
  },
  "hsl": {
    "h": 77.308,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32755,
    "c": 0.07555,
    "h": 124.9
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

primary
#2C3B07
secondary
#3C237A
accent
#33F56B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3B07

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

Preview Lab → · Contrast checker → · Palette generator →

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