#2C4B0C#2C4B0C

#2C4B0C is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.096 H 132.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#2C4B0C
RGBrgb(44, 75, 12)
HSLhsl(90, 72%, 17%)
HSVhsv(90, 84%, 29%)
CMYKcmyk(41.3%, 0%, 84%, 70.6%)
CIE-LABlab(28.36, -22.98, 31.53)
CIE-LCHlch(28.36, 39.02, 126.09°)
OKLaboklab(37.47% -0.0648 0.0702)
OKLCHoklch(37.47% 0.096 132.7)
XYZxyz(3.6211, 5.5940, 1.2367)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B0C #2B0C4B
analogous
#4B4B0C #2C4B0C #0C4B0C
triadic
#2C4B0C #0C2C4B #4B0C2C
tetradic
#2C4B0C #0C4B4B #2B0C4B #4B0C0C
square
#2C4B0C #0C4B4B #2B0C4B #4B0C0C
split-complementary
#2C4B0C #0C0C4B #4B0C4B
monochromatic
#0F1A04 #0F1A04 #2C4B0C #4B8014 #6AB51D

Accessibility & contrast

On white

9.91
#2C4B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C4B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B0C
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B0C#FFFFFF#000000##FFFFFF
##2C4B0C1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4401
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#2C483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c4b0c;
/* rgb */ color: rgb(44, 75, 12);
/* oklch */ color: oklch(37.5% 0.096 132.7);
Tailwind
colors: {
  custom: {
    50: '#697d50',
    500: '#2c4b0c',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b0c;
$custom-light: #697d50;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b0c",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 12
  },
  "hsl": {
    "h": 89.524,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37474,
    "c": 0.09554,
    "h": 132.7
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#2C4B0C
secondary
#592C87
accent
#39EF92
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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