#2D4E1C#2D4E1C

#2D4E1C is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.086 H 136.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2D4E1C
RGBrgb(45, 78, 28)
HSLhsl(100, 47%, 21%)
HSVhsv(100, 64%, 31%)
CMYKcmyk(42.3%, 0%, 64.1%, 69.4%)
CIE-LABlab(29.64, -22.57, 25.38)
CIE-LCHlch(29.64, 33.96, 131.65°)
OKLaboklab(38.58% -0.0624 0.0596)
OKLCHoklch(38.58% 0.086 136.3)
XYZxyz(4.0161, 6.0903, 2.0623)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E1C #3D1C4E
analogous
#464E1C #2D4E1C #1C4E24
triadic
#2D4E1C #1C2D4E #4E1C2D
tetradic
#2D4E1C #1C464E #3D1C4E #4E241C
square
#2D4E1C #1C464E #3D1C4E #4E241C
split-complementary
#2D4E1C #241C4E #4E1C46
monochromatic
#0D1708 #13210C #2D4E1C #477B2C #61A83C

Accessibility & contrast

On white

9.47
#2D4E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2D4E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E1C
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E1C#FFFFFF#000000##FFFFFF
##2D4E1C1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514817
Deuteranopia (green-blind)
#4C4520
Tritanopia (blue-blind)
#2C4B43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e1c;
/* rgb */ color: rgb(45, 78, 28);
/* oklch */ color: oklch(38.6% 0.086 136.3);
Tailwind
colors: {
  custom: {
    50: '#69805a',
    500: '#2d4e1c',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e1c;
$custom-light: #69805a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e1c",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 28
  },
  "hsl": {
    "h": 99.6,
    "s": 47.17,
    "l": 20.784
  },
  "oklch": {
    "l": 0.38578,
    "c": 0.08624,
    "h": 136.3
  },
  "luminance": 0.06091
}

Semantic roles & 50–950 ramp

primary
#2D4E1C
secondary
#6D4284
accent
#51D7A9
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A04
muted
#7A7C79

Preview Lab

Preview with #2D4E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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