#2D4A0E#2D4A0E

#2D4A0E is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.092 H 132.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2D4A0E
RGBrgb(45, 74, 14)
HSLhsl(89, 68%, 17%)
HSVhsv(89, 81%, 29%)
CMYKcmyk(39.2%, 0%, 81.1%, 71%)
CIE-LABlab(28.08, -21.92, 30.47)
CIE-LCHlch(28.08, 37.54, 125.73°)
OKLaboklab(37.26% -0.0619 0.0683)
OKLCHoklch(37.26% 0.092 132.2)
XYZxyz(3.6102, 5.4870, 1.2843)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A0E #2B0E4A
analogous
#4A490E #2D4A0E #0F4A0E
triadic
#2D4A0E #0E2D4A #4A0E2D
tetradic
#2D4A0E #0E4A49 #2B0E4A #4A0E0F
square
#2D4A0E #0E4A49 #2B0E4A #4A0E0F
split-complementary
#2D4A0E #0E0F4A #490E4A
monochromatic
#101A05 #101A05 #2D4A0E #4C7D18 #6CB121

Accessibility & contrast

On white

10.01
#2D4A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D4A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A0E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A0E#FFFFFF#000000##FFFFFF
##2D4A0E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4404
Deuteranopia (green-blind)
#4A4114
Tritanopia (blue-blind)
#2E473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4a0e;
/* rgb */ color: rgb(45, 74, 14);
/* oklch */ color: oklch(37.3% 0.092 132.2);
Tailwind
colors: {
  custom: {
    50: '#697c51',
    500: '#2d4a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a0e;
$custom-light: #697c51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a0e",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 14
  },
  "hsl": {
    "h": 89,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37262,
    "c": 0.09215,
    "h": 132.2
  },
  "luminance": 0.05487
}

Semantic roles & 50–950 ramp

primary
#2D4A0E
secondary
#582F85
accent
#3DEB91
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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