#2A4511#2A4511

#2A4511 is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.084 H 132.8°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2A4511
RGBrgb(42, 69, 17)
HSLhsl(91, 60%, 17%)
HSVhsv(91, 75%, 27%)
CMYKcmyk(39.1%, 0%, 75.4%, 72.9%)
CIE-LABlab(26.12, -20.39, 27.07)
CIE-LCHlch(26.12, 33.89, 126.98°)
OKLaboklab(35.63% -0.0572 0.0617)
OKLCHoklch(35.63% 0.084 132.8)
XYZxyz(3.1841, 4.7888, 1.2868)
Luminance0.0479 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4511 #2C1145
analogous
#444511 #2A4511 #114512
triadic
#2A4511 #112A45 #45112A
tetradic
#2A4511 #114445 #2C1145 #451211
square
#2A4511 #114445 #2C1145 #451211
split-complementary
#2A4511 #121145 #451144
monochromatic
#0F1906 #0F1906 #2A4511 #48761D #66A729

Accessibility & contrast

On white

10.73
#2A4511 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A4511 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4511
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4511#FFFFFF#000000##FFFFFF
##2A45111.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0A
Deuteranopia (green-blind)
#443D15
Tritanopia (blue-blind)
#2A423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a4511;
/* rgb */ color: rgb(42, 69, 17);
/* oklch */ color: oklch(35.6% 0.084 132.8);
Tailwind
colors: {
  custom: {
    50: '#667952',
    500: '#2a4511',
    950: '#000000',
  },
}
SCSS
$custom: #2a4511;
$custom-light: #667952;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4511",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 17
  },
  "hsl": {
    "h": 91.154,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35626,
    "c": 0.08415,
    "h": 132.8
  },
  "luminance": 0.04789
}

Semantic roles & 50–950 ramp

primary
#2A4511
secondary
#5A337F
accent
#44E497
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A4511

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

Preview Lab → · Contrast checker → · Palette generator →

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