#2A461A#2A461A

#2A461A is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.077 H 135.6°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#2A461A
RGBrgb(42, 70, 26)
HSLhsl(98, 46%, 19%)
HSVhsv(98, 63%, 27%)
CMYKcmyk(40%, 0%, 62.9%, 72.5%)
CIE-LABlab(26.58, -19.92, 22.89)
CIE-LCHlch(26.58, 30.34, 131.03°)
OKLaboklab(36.03% -0.0551 0.054)
OKLCHoklch(36.03% 0.077 135.6)
XYZxyz(3.3314, 4.9470, 1.7564)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A461A #361A46
analogous
#40461A #2A461A #1A4620
triadic
#2A461A #1A2A46 #461A2A
tetradic
#2A461A #1A4046 #361A46 #46201A
square
#2A461A #1A4046 #361A46 #46201A
split-complementary
#2A461A #201A46 #461A40
monochromatic
#0D1608 #0F1909 #2A461A #45732B #609F3B

Accessibility & contrast

On white

10.56
#2A461A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A461A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A461A
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A461A#FFFFFF#000000##FFFFFF
##2A461A1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494016
Deuteranopia (green-blind)
#453E1D
Tritanopia (blue-blind)
#29433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a461a;
/* rgb */ color: rgb(42, 70, 26);
/* oklch */ color: oklch(36.0% 0.077 135.6);
Tailwind
colors: {
  custom: {
    50: '#667958',
    500: '#2a461a',
    950: '#000000',
  },
}
SCSS
$custom: #2a461a;
$custom-light: #667958;
$custom-dark: #000000;
JSON
{
  "hex": "#2a461a",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 26
  },
  "hsl": {
    "h": 98.182,
    "s": 45.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.36031,
    "c": 0.07713,
    "h": 135.6
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#2A461A
secondary
#66407C
accent
#52D5A6
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A461A

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

Preview Lab → · Contrast checker → · Palette generator →

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