#2A461B#2A461B

#2A461B is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.0% C 0.076 H 135.9°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2A461B
RGBrgb(42, 70, 27)
HSLhsl(99, 44%, 19%)
HSVhsv(99, 61%, 27%)
CMYKcmyk(40%, 0%, 61.4%, 72.5%)
CIE-LABlab(26.60, -19.79, 22.34)
CIE-LCHlch(26.60, 29.84, 131.53°)
OKLaboklab(36.05% -0.0546 0.0529)
OKLCHoklch(36.05% 0.076 135.9)
XYZxyz(3.3427, 4.9515, 1.8163)
Luminance0.0495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A461B #371B46
analogous
#40461B #2A461B #1B4622
triadic
#2A461B #1B2A46 #461B2A
tetradic
#2A461B #1B4046 #371B46 #46221B
square
#2A461B #1B4046 #371B46 #46221B
split-complementary
#2A461B #221B46 #461B40
monochromatic
#0D1609 #101A0A #2A461B #44722C #5F9E3D

Accessibility & contrast

On white

10.55
#2A461B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A461B
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A461B#FFFFFF#000000##FFFFFF
##2A461B1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a461b;
/* rgb */ color: rgb(42, 70, 27);
/* oklch */ color: oklch(36.0% 0.076 135.9);
Tailwind
colors: {
  custom: {
    50: '#667959',
    500: '#2a461b',
    950: '#000000',
  },
}
SCSS
$custom: #2a461b;
$custom-light: #667959;
$custom-dark: #000000;
JSON
{
  "hex": "#2a461b",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 27
  },
  "hsl": {
    "h": 99.07,
    "s": 44.33,
    "l": 19.02
  },
  "oklch": {
    "l": 0.36046,
    "c": 0.07607,
    "h": 135.9
  },
  "luminance": 0.04952
}

Semantic roles & 50–950 ramp

primary
#2A461B
secondary
#67417C
accent
#54D4A7
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A461B

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

Preview Lab → · Contrast checker → · Palette generator →

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