#2C3F08#2C3F08

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

Color values

HEX#2C3F08
RGBrgb(44, 63, 8)
HSLhsl(81, 77%, 14%)
HSVhsv(81, 87%, 25%)
CMYKcmyk(30.2%, 0%, 87.3%, 75.3%)
CIE-LABlab(24.03, -17.00, 28.95)
CIE-LCHlch(24.03, 33.58, 120.43°)
OKLaboklab(33.93% -0.049 0.0641)
OKLCHoklch(33.93% 0.081 127.4)
XYZxyz(2.8601, 4.1080, 0.8719)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F08 #1B083F
analogous
#3F3708 #2C3F08 #113F08
triadic
#2C3F08 #082C3F #3F082C
tetradic
#2C3F08 #083F37 #1B083F #3F0811
square
#2C3F08 #083F37 #1B083F #3F0811
split-complementary
#2C3F08 #08113F #37083F
monochromatic
#131B03 #131B03 #2C3F08 #52750F #78AC16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C3F08#FFFFFF#000000##FFFFFF
##2C3F081.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: #2c3f08;
/* rgb */ color: rgb(44, 63, 8);
/* oklch */ color: oklch(33.9% 0.081 127.4);
Tailwind
colors: {
  custom: {
    50: '#67744c',
    500: '#2c3f08',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f08;
$custom-light: #67744c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f08",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 80.727,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3393,
    "c": 0.08067,
    "h": 127.4
  },
  "luminance": 0.04108
}

Semantic roles & 50–950 ramp

primary
#2C3F08
secondary
#44257E
accent
#34F476
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C3F08

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

Preview Lab → · Contrast checker → · Palette generator →

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