#2C3F0D#2C3F0D

#2C3F0D is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.077 H 128.1°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2C3F0D
RGBrgb(44, 63, 13)
HSLhsl(83, 66%, 15%)
HSVhsv(83, 79%, 25%)
CMYKcmyk(30.2%, 0%, 79.4%, 75.3%)
CIE-LABlab(24.06, -16.64, 26.86)
CIE-LCHlch(24.06, 31.60, 121.78°)
OKLaboklab(33.97% -0.0475 0.0606)
OKLCHoklch(33.97% 0.077 128.1)
XYZxyz(2.8889, 4.1195, 1.0236)
Luminance0.0412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F0D #200D3F
analogous
#3F390D #2C3F0D #133F0D
triadic
#2C3F0D #0D2C3F #3F0D2C
tetradic
#2C3F0D #0D3F39 #200D3F #3F0D13
square
#2C3F0D #0D3F39 #200D3F #3F0D13
split-complementary
#2C3F0D #0D133F #390D3F
monochromatic
#121905 #121905 #2C3F0D #4F7217 #73A422

Accessibility & contrast

On white

11.51
#2C3F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3F0D
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F0D#FFFFFF#000000##FFFFFF
##2C3F0D1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A06
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#2E3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3f0d;
/* rgb */ color: rgb(44, 63, 13);
/* oklch */ color: oklch(34.0% 0.077 128.1);
Tailwind
colors: {
  custom: {
    50: '#67744f',
    500: '#2c3f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f0d;
$custom-light: #67744f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f0d",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 13
  },
  "hsl": {
    "h": 82.8,
    "s": 65.789,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33972,
    "c": 0.07698,
    "h": 128.1
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#2C3F0D
secondary
#4B2D7B
accent
#3FE980
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C3F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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