#2C4B0E#2C4B0E

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

Color values

HEX#2C4B0E
RGBrgb(44, 75, 14)
HSLhsl(90, 69%, 17%)
HSVhsv(90, 81%, 29%)
CMYKcmyk(41.3%, 0%, 81.3%, 70.6%)
CIE-LABlab(28.38, -22.84, 30.75)
CIE-LCHlch(28.38, 38.30, 126.61°)
OKLaboklab(37.49% -0.0643 0.0689)
OKLCHoklch(37.49% 0.094 133)
XYZxyz(3.6340, 5.5992, 1.3047)
Luminance0.0560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B0E #2D0E4B
analogous
#4A4B0E #2C4B0E #0E4B0F
triadic
#2C4B0E #0E2C4B #4B0E2C
tetradic
#2C4B0E #0E4A4B #2D0E4B #4B0F0E
square
#2C4B0E #0E4A4B #2D0E4B #4B0F0E
split-complementary
#2C4B0E #0F0E4B #4B0E4A
monochromatic
#0F1A05 #0F1A05 #2C4B0E #4A7F18 #69B221

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4B0E#FFFFFF#000000##FFFFFF
##2C4B0E1.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)
#4E4404
Deuteranopia (green-blind)
#4A4214
Tritanopia (blue-blind)
#2C483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c4b0e;
/* rgb */ color: rgb(44, 75, 14);
/* oklch */ color: oklch(37.5% 0.094 133.0);
Tailwind
colors: {
  custom: {
    50: '#687d51',
    500: '#2c4b0e',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b0e;
$custom-light: #687d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b0e",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 14
  },
  "hsl": {
    "h": 90.492,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.3749,
    "c": 0.09422,
    "h": 133
  },
  "luminance": 0.05599
}

Semantic roles & 50–950 ramp

primary
#2C4B0E
secondary
#5B2F86
accent
#3CEB95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C4B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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