#2A4A15#2A4A15

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

Color values

HEX#2A4A15
RGBrgb(42, 74, 21)
HSLhsl(96, 56%, 19%)
HSVhsv(96, 72%, 29%)
CMYKcmyk(43.2%, 0%, 71.6%, 71%)
CIE-LABlab(27.96, -22.54, 27.08)
CIE-LCHlch(27.96, 35.23, 129.77°)
OKLaboklab(37.14% -0.0627 0.0624)
OKLCHoklch(37.14% 0.088 135.2)
XYZxyz(3.5389, 5.4438, 1.5736)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A15 #35154A
analogous
#444A15 #2A4A15 #154A1A
triadic
#2A4A15 #152A4A #4A152A
tetradic
#2A4A15 #15444A #35154A #4A1A15
square
#2A4A15 #15444A #35154A #4A1A15
split-complementary
#2A4A15 #1A154A #4A1544
monochromatic
#0E1807 #0F1A07 #2A4A15 #457A23 #60A930

Accessibility & contrast

On white

10.05
#2A4A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4A15
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A15#FFFFFF#000000##FFFFFF
##2A4A151.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440E
Deuteranopia (green-blind)
#494119
Tritanopia (blue-blind)
#29473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a4a15;
/* rgb */ color: rgb(42, 74, 21);
/* oklch */ color: oklch(37.1% 0.088 135.2);
Tailwind
colors: {
  custom: {
    50: '#667d55',
    500: '#2a4a15',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a15;
$custom-light: #667d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a15",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 96.226,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37139,
    "c": 0.08841,
    "h": 135.2
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#2A4A15
secondary
#653982
accent
#49DFA4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4A15

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

Preview Lab → · Contrast checker → · Palette generator →

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