#2C3F07#2C3F07

#2C3F07 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 33.9% C 0.081 H 127.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2C3F07
RGBrgb(44, 63, 7)
HSLhsl(80, 80%, 14%)
HSVhsv(80, 89%, 25%)
CMYKcmyk(30.2%, 0%, 88.9%, 75.3%)
CIE-LABlab(24.02, -17.07, 29.35)
CIE-LCHlch(24.02, 33.96, 120.18°)
OKLaboklab(33.92% -0.0493 0.0648)
OKLCHoklch(33.92% 0.081 127.2)
XYZxyz(2.8546, 4.1058, 0.8431)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F07 #1A073F
analogous
#3F3607 #2C3F07 #103F07
triadic
#2C3F07 #072C3F #3F072C
tetradic
#2C3F07 #073F36 #1A073F #3F0710
square
#2C3F07 #073F36 #1A073F #3F0710
split-complementary
#2C3F07 #07103F #36073F
monochromatic
#131C03 #131C03 #2C3F07 #52760D #79AD13

Accessibility & contrast

On white

11.53
#2C3F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C3F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F07
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F07#FFFFFF#000000##FFFFFF
##2C3F071.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#2E3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3f07;
/* rgb */ color: rgb(44, 63, 7);
/* oklch */ color: oklch(33.9% 0.081 127.2);
Tailwind
colors: {
  custom: {
    50: '#68744c',
    500: '#2c3f07',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f07;
$custom-light: #68744c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f07",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 7
  },
  "hsl": {
    "h": 80.357,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33922,
    "c": 0.08139,
    "h": 127.2
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#2C3F07
secondary
#42247E
accent
#31F674
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C3F07

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

Preview Lab → · Contrast checker → · Palette generator →

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