#2C3F0B#2C3F0B

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

Color values

HEX#2C3F0B
RGBrgb(44, 63, 11)
HSLhsl(82, 70%, 15%)
HSVhsv(82, 83%, 25%)
CMYKcmyk(30.2%, 0%, 82.5%, 75.3%)
CIE-LABlab(24.05, -16.80, 27.74)
CIE-LCHlch(24.05, 32.43, 121.20°)
OKLaboklab(33.95% -0.0481 0.0621)
OKLCHoklch(33.95% 0.079 127.8)
XYZxyz(2.8766, 4.1146, 0.9592)
Luminance0.0411 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F0B #1E0B3F
analogous
#3F380B #2C3F0B #123F0B
triadic
#2C3F0B #0B2C3F #3F0B2C
tetradic
#2C3F0B #0B3F38 #1E0B3F #3F0B12
square
#2C3F0B #0B3F38 #1E0B3F #3F0B12
split-complementary
#2C3F0B #0B123F #380B3F
monochromatic
#121A05 #121A05 #2C3F0B #507314 #75A71D

Accessibility & contrast

On white

11.52
#2C3F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3F0B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F0B#FFFFFF#000000##FFFFFF
##2C3F0B1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3f0b;
/* rgb */ color: rgb(44, 63, 11);
/* oklch */ color: oklch(34.0% 0.079 127.8);
Tailwind
colors: {
  custom: {
    50: '#67744e',
    500: '#2c3f0b',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f0b;
$custom-light: #67744e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f0b",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 11
  },
  "hsl": {
    "h": 81.923,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33954,
    "c": 0.07852,
    "h": 127.8
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#2C3F0B
secondary
#482A7C
accent
#3BED7C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C3F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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