#2C3F0F#2C3F0F

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

Color values

HEX#2C3F0F
RGBrgb(44, 63, 15)
HSLhsl(84, 62%, 15%)
HSVhsv(84, 76%, 25%)
CMYKcmyk(30.2%, 0%, 76.2%, 75.3%)
CIE-LABlab(24.08, -16.48, 25.93)
CIE-LCHlch(24.08, 30.72, 122.43°)
OKLaboklab(33.99% -0.0468 0.059)
OKLCHoklch(33.99% 0.075 128.4)
XYZxyz(2.9024, 4.1249, 1.0951)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F0F #220F3F
analogous
#3F3A0F #2C3F0F #143F0F
triadic
#2C3F0F #0F2C3F #3F0F2C
tetradic
#2C3F0F #0F3F3A #220F3F #3F0F14
square
#2C3F0F #0F3F3A #220F3F #3F0F14
split-complementary
#2C3F0F #0F143F #3A0F3F
monochromatic
#111906 #111906 #2C3F0F #4F701B #71A227

Accessibility & contrast

On white

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

On black

1.83
#2C3F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2C3F0F#FFFFFF#000000##FFFFFF
##2C3F0F1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A08
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#2E3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c3f0f;
/* rgb */ color: rgb(44, 63, 15);
/* oklch */ color: oklch(34.0% 0.075 128.4);
Tailwind
colors: {
  custom: {
    50: '#677450',
    500: '#2c3f0f',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f0f;
$custom-light: #677450;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f0f",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 15
  },
  "hsl": {
    "h": 83.75,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33992,
    "c": 0.07531,
    "h": 128.4
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#2C3F0F
secondary
#4D3079
accent
#43E583
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C3F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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