#2A460D#2A460D

#2A460D is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.089 H 132.4°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2A460D
RGBrgb(42, 70, 13)
HSLhsl(89, 69%, 16%)
HSVhsv(89, 81%, 27%)
CMYKcmyk(40%, 0%, 81.4%, 72.5%)
CIE-LABlab(26.45, -21.24, 29.22)
CIE-LCHlch(26.45, 36.12, 126.01°)
OKLaboklab(35.88% -0.0599 0.0656)
OKLCHoklch(35.88% 0.089 132.4)
XYZxyz(3.2176, 4.9015, 1.1572)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A460D #290D46
analogous
#46460D #2A460D #0D460D
triadic
#2A460D #0D2A46 #460D2A
tetradic
#2A460D #0D4646 #290D46 #460D0D
square
#2A460D #0D4646 #290D46 #460D0D
split-complementary
#2A460D #0D0D46 #460D46
monochromatic
#0F1A05 #0F1A05 #2A460D #497A17 #68AD20

Accessibility & contrast

On white

10.60
#2A460D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A460D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A460D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A460D#FFFFFF#000000##FFFFFF
##2A460D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494004
Deuteranopia (green-blind)
#453E12
Tritanopia (blue-blind)
#2A433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a460d;
/* rgb */ color: rgb(42, 70, 13);
/* oklch */ color: oklch(35.9% 0.089 132.4);
Tailwind
colors: {
  custom: {
    50: '#667950',
    500: '#2a460d',
    950: '#000000',
  },
}
SCSS
$custom: #2a460d;
$custom-light: #667950;
$custom-dark: #000000;
JSON
{
  "hex": "#2a460d",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 13
  },
  "hsl": {
    "h": 89.474,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35882,
    "c": 0.08878,
    "h": 132.4
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#2A460D
secondary
#572D81
accent
#3CEC92
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A460D

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

Preview Lab → · Contrast checker → · Palette generator →

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