#2A4408#2A4408

#2A4408 is a dark, moderate yellow-green. Relative luminance 0.046; OKLCH L 35.3% C 0.089 H 131.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2A4408
RGBrgb(42, 68, 8)
HSLhsl(86, 79%, 15%)
HSVhsv(86, 88%, 27%)
CMYKcmyk(38.2%, 0%, 88.2%, 73.3%)
CIE-LABlab(25.70, -20.56, 30.51)
CIE-LCHlch(25.70, 36.79, 123.98°)
OKLaboklab(35.25% -0.0584 0.0673)
OKLCHoklch(35.25% 0.089 131)
XYZxyz(3.0658, 4.6439, 0.9645)
Luminance0.0464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4408 #220844
analogous
#444008 #2A4408 #0C4408
triadic
#2A4408 #082A44 #44082A
tetradic
#2A4408 #084440 #220844 #44080C
square
#2A4408 #084440 #220844 #44080C
split-complementary
#2A4408 #080C44 #400844
monochromatic
#111B03 #111B03 #2A4408 #4C7B0E #6EB215

Accessibility & contrast

On white

10.89
#2A4408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A4408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4408
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4408#FFFFFF#000000##FFFFFF
##2A44081.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E00
Deuteranopia (green-blind)
#443C0E
Tritanopia (blue-blind)
#2B4139
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a4408;
/* rgb */ color: rgb(42, 68, 8);
/* oklch */ color: oklch(35.3% 0.089 131.0);
Tailwind
colors: {
  custom: {
    50: '#67784d',
    500: '#2a4408',
    950: '#000000',
  },
}
SCSS
$custom: #2a4408;
$custom-light: #67784d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4408",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 86,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35254,
    "c": 0.08917,
    "h": 131
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#2A4408
secondary
#4E2682
accent
#32F587
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2A4408

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

Preview Lab → · Contrast checker → · Palette generator →

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