#2A4910#2A4910

#2A4910 is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.091 H 133.8°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#2A4910
RGBrgb(42, 73, 16)
HSLhsl(93, 64%, 17%)
HSVhsv(93, 78%, 29%)
CMYKcmyk(42.5%, 0%, 78.1%, 71.4%)
CIE-LABlab(27.56, -22.51, 29.02)
CIE-LCHlch(27.56, 36.73, 127.79°)
OKLaboklab(36.79% -0.063 0.0657)
OKLCHoklch(36.79% 0.091 133.8)
XYZxyz(3.4309, 5.2946, 1.3313)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4910 #2F1049
analogous
#464910 #2A4910 #104913
triadic
#2A4910 #102A49 #49102A
tetradic
#2A4910 #104649 #2F1049 #491310
square
#2A4910 #104649 #2F1049 #491310
split-complementary
#2A4910 #131049 #491046
monochromatic
#0E1906 #0E1906 #2A4910 #477B1B #64AD26

Accessibility & contrast

On white

10.20
#2A4910 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2A4910 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4910
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4910#FFFFFF#000000##FFFFFF
##2A49101.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4307
Deuteranopia (green-blind)
#484015
Tritanopia (blue-blind)
#2A463E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2a4910;
/* rgb */ color: rgb(42, 73, 16);
/* oklch */ color: oklch(36.8% 0.091 133.8);
Tailwind
colors: {
  custom: {
    50: '#677c52',
    500: '#2a4910',
    950: '#000000',
  },
}
SCSS
$custom: #2a4910;
$custom-light: #677c52;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4910",
  "rgb": {
    "r": 42,
    "g": 73,
    "b": 16
  },
  "hsl": {
    "h": 92.632,
    "s": 64.045,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36793,
    "c": 0.09103,
    "h": 133.8
  },
  "luminance": 0.05295
}

Semantic roles & 50–950 ramp

primary
#2A4910
secondary
#5E3283
accent
#41E79B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4910

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

Preview Lab → · Contrast checker → · Palette generator →

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