#2C3A07#2C3A07

#2C3A07 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.074 H 124.2°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2C3A07
RGBrgb(44, 58, 7)
HSLhsl(76, 78%, 13%)
HSVhsv(76, 88%, 23%)
CMYKcmyk(24.1%, 0%, 87.9%, 77.3%)
CIE-LABlab(22.22, -14.28, 27.51)
CIE-LCHlch(22.22, 31.00, 117.43°)
OKLaboklab(32.46% -0.0416 0.0613)
OKLCHoklch(32.46% 0.074 124.2)
XYZxyz(2.5901, 3.5769, 0.7549)
Luminance0.0358 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3A07 #15073A
analogous
#3A2F07 #2C3A07 #123A07
triadic
#2C3A07 #072C3A #3A072C
tetradic
#2C3A07 #073A2F #15073A #3A0712
square
#2C3A07 #073A2F #15073A #3A0712
split-complementary
#2C3A07 #07123A #2F073A
monochromatic
#151B03 #151B03 #2C3A07 #55710E #7FA714

Accessibility & contrast

On white

12.24
#2C3A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2C3A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3A07
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3A07#FFFFFF#000000##FFFFFF
##2C3A071.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#2F3730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c3a07;
/* rgb */ color: rgb(44, 58, 7);
/* oklch */ color: oklch(32.5% 0.074 124.2);
Tailwind
colors: {
  custom: {
    50: '#67704b',
    500: '#2c3a07',
    950: '#000000',
  },
}
SCSS
$custom: #2c3a07;
$custom-light: #67704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3a07",
  "rgb": {
    "r": 44,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 76.471,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32464,
    "c": 0.07409,
    "h": 124.2
  },
  "luminance": 0.03577
}

Semantic roles & 50–950 ramp

primary
#2C3A07
secondary
#3B2379
accent
#33F568
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2C3A07

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

Preview Lab → · Contrast checker → · Palette generator →

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