#2A4A11#2A4A11

#2A4A11 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.092 H 134.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#2A4A11
RGBrgb(42, 74, 17)
HSLhsl(94, 63%, 18%)
HSVhsv(94, 77%, 29%)
CMYKcmyk(43.2%, 0%, 77%, 71%)
CIE-LABlab(27.93, -22.92, 28.95)
CIE-LCHlch(27.93, 36.92, 128.37°)
OKLaboklab(37.1% -0.0641 0.0657)
OKLCHoklch(37.1% 0.092 134.3)
XYZxyz(3.5047, 5.4301, 1.3937)
Luminance0.0543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A11 #31114A
analogous
#464A11 #2A4A11 #114A14
triadic
#2A4A11 #112A4A #4A112A
tetradic
#2A4A11 #11464A #31114A #4A1411
square
#2A4A11 #11464A #31114A #4A1411
split-complementary
#2A4A11 #14114A #4A1146
monochromatic
#0E1906 #0E1906 #2A4A11 #467C1C #62AE28

Accessibility & contrast

On white

10.07
#2A4A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A4A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A11
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A11#FFFFFF#000000##FFFFFF
##2A4A111.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4408
Deuteranopia (green-blind)
#494116
Tritanopia (blue-blind)
#2A473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a4a11;
/* rgb */ color: rgb(42, 74, 17);
/* oklch */ color: oklch(37.1% 0.092 134.3);
Tailwind
colors: {
  custom: {
    50: '#677d53',
    500: '#2a4a11',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a11;
$custom-light: #677d53;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a11",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 93.684,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37097,
    "c": 0.09175,
    "h": 134.3
  },
  "luminance": 0.0543
}

Semantic roles & 50–950 ramp

primary
#2A4A11
secondary
#603383
accent
#42E69E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4A11

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

Preview Lab → · Contrast checker → · Palette generator →

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