#2A4B11#2A4B11

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

Color values

HEX#2A4B11
RGBrgb(42, 75, 17)
HSLhsl(94, 63%, 18%)
HSVhsv(94, 77%, 29%)
CMYKcmyk(44%, 0%, 77.3%, 70.6%)
CIE-LABlab(28.29, -23.41, 29.32)
CIE-LCHlch(28.29, 37.52, 128.60°)
OKLaboklab(37.39% -0.0654 0.0665)
OKLCHoklch(37.39% 0.093 134.5)
XYZxyz(3.5720, 5.5647, 1.4161)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4B11 #32114B
analogous
#474B11 #2A4B11 #114B15
triadic
#2A4B11 #112A4B #4B112A
tetradic
#2A4B11 #11474B #32114B #4B1511
square
#2A4B11 #11474B #32114B #4B1511
split-complementary
#2A4B11 #15114B #4B1147
monochromatic
#0E1906 #0E1906 #2A4B11 #467D1C #62AF28

Accessibility & contrast

On white

9.94
#2A4B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A4B11
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4B11#FFFFFF#000000##FFFFFF
##2A4B111.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4408
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#2A483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2a4b11;
/* rgb */ color: rgb(42, 75, 17);
/* oklch */ color: oklch(37.4% 0.093 134.5);
Tailwind
colors: {
  custom: {
    50: '#677d53',
    500: '#2a4b11',
    950: '#000000',
  },
}
SCSS
$custom: #2a4b11;
$custom-light: #677d53;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4b11",
  "rgb": {
    "r": 42,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 94.138,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37392,
    "c": 0.09324,
    "h": 134.5
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#2A4B11
secondary
#613384
accent
#42E69F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4B11

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

Preview Lab → · Contrast checker → · Palette generator →

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