#2A4B13#2A4B13

#2A4B13 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.4% C 0.092 H 134.9°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2A4B13
RGBrgb(42, 75, 19)
HSLhsl(95, 60%, 18%)
HSVhsv(95, 75%, 29%)
CMYKcmyk(44%, 0%, 74.7%, 70.6%)
CIE-LABlab(28.30, -23.23, 28.42)
CIE-LCHlch(28.30, 36.70, 129.26°)
OKLaboklab(37.41% -0.0647 0.0649)
OKLCHoklch(37.41% 0.092 134.9)
XYZxyz(3.5884, 5.5712, 1.5022)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B13 #34134B
analogous
#464B13 #2A4B13 #134B18
triadic
#2A4B13 #132A4B #4B132A
tetradic
#2A4B13 #13464B #34134B #4B1813
square
#2A4B13 #13464B #34134B #4B1813
split-complementary
#2A4B13 #18134B #4B1346
monochromatic
#0E1806 #0F1A07 #2A4B13 #457C1F #61AD2C

Accessibility & contrast

On white

9.93
#2A4B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2A4B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4B13
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B13#FFFFFF#000000##FFFFFF
##2A4B131.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440B
Deuteranopia (green-blind)
#4A4218
Tritanopia (blue-blind)
#294840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4b13;
/* rgb */ color: rgb(42, 75, 19);
/* oklch */ color: oklch(37.4% 0.092 134.9);
Tailwind
colors: {
  custom: {
    50: '#677d54',
    500: '#2a4b13',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b13;
$custom-light: #677d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b13",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 19
  },
  "hsl": {
    "h": 95.357,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37411,
    "c": 0.09165,
    "h": 134.9
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#2A4B13
secondary
#643684
accent
#45E3A2
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4B13

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

Preview Lab → · Contrast checker → · Palette generator →

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