#2D4607#2D4607

#2D4607 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.091 H 129.8°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2D4607
RGBrgb(45, 70, 7)
HSLhsl(84, 82%, 15%)
HSVhsv(84, 90%, 27%)
CMYKcmyk(35.7%, 0%, 90%, 72.5%)
CIE-LABlab(26.60, -20.34, 31.81)
CIE-LCHlch(26.60, 37.76, 122.59°)
OKLaboklab(36.04% -0.0582 0.0698)
OKLCHoklch(36.04% 0.091 129.8)
XYZxyz(3.3107, 4.9534, 0.9826)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4607 #200746
analogous
#464007 #2D4607 #0D4607
triadic
#2D4607 #072D46 #46072D
tetradic
#2D4607 #074640 #200746 #46070D
square
#2D4607 #074640 #200746 #46070D
split-complementary
#2D4607 #070D46 #400746
monochromatic
#121C03 #121C03 #2D4607 #517E0D #75B512

Accessibility & contrast

On white

10.55
#2D4607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D4607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4607
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4607#FFFFFF#000000##FFFFFF
##2D46071.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#463E0E
Tritanopia (blue-blind)
#2E423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d4607;
/* rgb */ color: rgb(45, 70, 7);
/* oklch */ color: oklch(36.0% 0.091 129.8);
Tailwind
colors: {
  custom: {
    50: '#69794d',
    500: '#2d4607',
    950: '#000000',
  },
}
SCSS
$custom: #2d4607;
$custom-light: #69794d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4607",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 7
  },
  "hsl": {
    "h": 83.81,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36042,
    "c": 0.09085,
    "h": 129.8
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#2D4607
secondary
#4A2485
accent
#30F87F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2D4607

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

Preview Lab → · Contrast checker → · Palette generator →

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