#2C4106#2C4106

#2C4106 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.5% C 0.085 H 128.1°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#2C4106
RGBrgb(44, 65, 6)
HSLhsl(81, 83%, 14%)
HSVhsv(81, 91%, 25%)
CMYKcmyk(32.3%, 0%, 90.8%, 74.5%)
CIE-LABlab(24.73, -18.22, 30.46)
CIE-LCHlch(24.73, 35.49, 120.89°)
OKLaboklab(34.5% -0.0525 0.0669)
OKLCHoklch(34.5% 0.085 128.1)
XYZxyz(2.9619, 4.3291, 0.8518)
Luminance0.0433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4106 #1B0641
analogous
#413906 #2C4106 #0F4106
triadic
#2C4106 #062C41 #41062C
tetradic
#2C4106 #064139 #1B0641 #41060F
square
#2C4106 #064139 #1B0641 #41060F
split-complementary
#2C4106 #060F41 #390641
monochromatic
#131C03 #131C03 #2C4106 #52790B #78B110

Accessibility & contrast

On white

11.26
#2C4106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C4106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4106
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4106#FFFFFF#000000##FFFFFF
##2C41061.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#423A0C
Tritanopia (blue-blind)
#2E3E36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c4106;
/* rgb */ color: rgb(44, 65, 6);
/* oklch */ color: oklch(34.5% 0.085 128.1);
Tailwind
colors: {
  custom: {
    50: '#68754c',
    500: '#2c4106',
    950: '#000000',
  },
}
SCSS
$custom: #2c4106;
$custom-light: #68754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4106",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 81.356,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34499,
    "c": 0.08498,
    "h": 128.1
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

primary
#2C4106
secondary
#442281
accent
#2EF977
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4106

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

Preview Lab → · Contrast checker → · Palette generator →

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