#2C3F04#2C3F04

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

Color values

HEX#2C3F04
RGBrgb(44, 63, 4)
HSLhsl(79, 88%, 13%)
HSVhsv(79, 94%, 25%)
CMYKcmyk(30.2%, 0%, 93.7%, 75.3%)
CIE-LABlab(24.00, -17.28, 30.55)
CIE-LCHlch(24.00, 35.10, 119.49°)
OKLaboklab(33.9% -0.0501 0.0669)
OKLCHoklch(33.9% 0.084 126.9)
XYZxyz(2.8381, 4.0992, 0.7565)
Luminance0.0410 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F04 #17043F
analogous
#3F3404 #2C3F04 #0E3F04
triadic
#2C3F04 #042C3F #3F042C
tetradic
#2C3F04 #043F34 #17043F #3F040E
square
#2C3F04 #043F34 #17043F #3F040E
split-complementary
#2C3F04 #040E3F #34043F
monochromatic
#141D02 #141D02 #2C3F04 #547908 #7CB20B

Accessibility & contrast

On white

11.54
#2C3F04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3F04
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F04#FFFFFF#000000##FFFFFF
##2C3F041.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3f04;
/* rgb */ color: rgb(44, 63, 4);
/* oklch */ color: oklch(33.9% 0.084 126.9);
Tailwind
colors: {
  custom: {
    50: '#68744a',
    500: '#2c3f04',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f04;
$custom-light: #68744a;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f04",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 4
  },
  "hsl": {
    "h": 79.322,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33897,
    "c": 0.08359,
    "h": 126.9
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#2C3F04
secondary
#3E1E80
accent
#2AFE6E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C3F04

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

Preview Lab → · Contrast checker → · Palette generator →

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