#2A4705#2A4705

#2A4705 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.095 H 131.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2A4705
RGBrgb(42, 71, 5)
HSLhsl(86, 87%, 15%)
HSVhsv(86, 93%, 28%)
CMYKcmyk(40.8%, 0%, 93%, 72.2%)
CIE-LABlab(26.76, -22.27, 32.70)
CIE-LCHlch(26.76, 39.56, 124.26°)
OKLaboklab(36.12% -0.0633 0.0713)
OKLCHoklch(36.12% 0.095 131.6)
XYZxyz(3.2354, 5.0095, 0.9400)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4705 #220547
analogous
#474305 #2A4705 #094705
triadic
#2A4705 #052A47 #47052A
tetradic
#2A4705 #054743 #220547 #470509
square
#2A4705 #054743 #220547 #470509
split-complementary
#2A4705 #050947 #430547
monochromatic
#111D02 #111D02 #2A4705 #4C8009 #6EB90D

Accessibility & contrast

On white

10.49
#2A4705 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2A4705 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4705
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4705#FFFFFF#000000##FFFFFF
##2A47051.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#473E0D
Tritanopia (blue-blind)
#2B443B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a4705;
/* rgb */ color: rgb(42, 71, 5);
/* oklch */ color: oklch(36.1% 0.095 131.6);
Tailwind
colors: {
  custom: {
    50: '#677a4c',
    500: '#2a4705',
    950: '#000000',
  },
}
SCSS
$custom: #2a4705;
$custom-light: #677a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4705",
  "rgb": {
    "r": 42,
    "g": 71,
    "b": 5
  },
  "hsl": {
    "h": 86.364,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36119,
    "c": 0.09536,
    "h": 131.6
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#2A4705
secondary
#4E2187
accent
#2BFD87
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2A4705

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

Preview Lab → · Contrast checker → · Palette generator →

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