#2C4D0F#2C4D0F

#2C4D0F is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.096 H 133.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2C4D0F
RGBrgb(44, 77, 15)
HSLhsl(92, 67%, 18%)
HSVhsv(92, 81%, 30%)
CMYKcmyk(42.9%, 0%, 80.5%, 69.8%)
CIE-LABlab(29.10, -23.75, 31.05)
CIE-LCHlch(29.10, 39.09, 127.42°)
OKLaboklab(38.08% -0.0666 0.0697)
OKLCHoklch(38.08% 0.096 133.7)
XYZxyz(3.7787, 5.8775, 1.3872)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D0F #300F4D
analogous
#4B4D0F #2C4D0F #0F4D11
triadic
#2C4D0F #0F2C4D #4D0F2C
tetradic
#2C4D0F #0F4B4D #300F4D #4D110F
square
#2C4D0F #0F4B4D #300F4D #4D110F
split-complementary
#2C4D0F #110F4D #4D0F4B
monochromatic
#0F1A05 #0F1A05 #2C4D0F #498019 #67B323

Accessibility & contrast

On white

9.65
#2C4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C4D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D0F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D0F#FFFFFF#000000##FFFFFF
##2C4D0F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504604
Deuteranopia (green-blind)
#4C4415
Tritanopia (blue-blind)
#2C4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4d0f;
/* rgb */ color: rgb(44, 77, 15);
/* oklch */ color: oklch(38.1% 0.096 133.7);
Tailwind
colors: {
  custom: {
    50: '#697f52',
    500: '#2c4d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d0f;
$custom-light: #697f52;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d0f",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 15
  },
  "hsl": {
    "h": 91.935,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38084,
    "c": 0.09644,
    "h": 133.7
  },
  "luminance": 0.05878
}

Semantic roles & 50–950 ramp

primary
#2C4D0F
secondary
#5F3187
accent
#3EEA99
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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