#2A4607#2A4607

#2A4607 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.8% C 0.093 H 131.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2A4607
RGBrgb(42, 70, 7)
HSLhsl(87, 82%, 15%)
HSVhsv(87, 90%, 27%)
CMYKcmyk(40%, 0%, 90%, 72.5%)
CIE-LABlab(26.41, -21.64, 31.57)
CIE-LCHlch(26.41, 38.28, 124.43°)
OKLaboklab(35.84% -0.0615 0.0694)
OKLCHoklch(35.84% 0.093 131.5)
XYZxyz(3.1833, 4.8878, 0.9767)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4607 #230746
analogous
#464307 #2A4607 #0A4607
triadic
#2A4607 #072A46 #46072A
tetradic
#2A4607 #074643 #230746 #46070A
square
#2A4607 #074643 #230746 #46070A
split-complementary
#2A4607 #070A46 #430746
monochromatic
#111C03 #111C03 #2A4607 #4B7E0D #6DB512

Accessibility & contrast

On white

10.62
#2A4607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A4607 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4607
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4607#FFFFFF#000000##FFFFFF
##2A46071.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a4607;
/* rgb */ color: rgb(42, 70, 7);
/* oklch */ color: oklch(35.8% 0.093 131.5);
Tailwind
colors: {
  custom: {
    50: '#67794d',
    500: '#2a4607',
    950: '#000000',
  },
}
SCSS
$custom: #2a4607;
$custom-light: #67794d;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4607",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 7
  },
  "hsl": {
    "h": 86.667,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.35837,
    "c": 0.09267,
    "h": 131.5
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#2A4607
secondary
#4F2485
accent
#30F889
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2A4607

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

Preview Lab → · Contrast checker → · Palette generator →

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