#2A460C#2A460C

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

Color values

HEX#2A460C
RGBrgb(42, 70, 12)
HSLhsl(89, 71%, 16%)
HSVhsv(89, 83%, 27%)
CMYKcmyk(40%, 0%, 82.9%, 72.5%)
CIE-LABlab(26.45, -21.31, 29.63)
CIE-LCHlch(26.45, 36.50, 125.72°)
OKLaboklab(35.87% -0.0601 0.0663)
OKLCHoklch(35.87% 0.089 132.2)
XYZxyz(3.2113, 4.8990, 1.1241)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A460C #280C46
analogous
#46450C #2A460C #0D460C
triadic
#2A460C #0C2A46 #460C2A
tetradic
#2A460C #0C4645 #280C46 #460C0D
square
#2A460C #0C4645 #280C46 #460C0D
split-complementary
#2A460C #0C0D46 #450C46
monochromatic
#101A04 #101A04 #2A460C #497A15 #69AE1E

Accessibility & contrast

On white

10.61
#2A460C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A460C
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A460C#FFFFFF#000000##FFFFFF
##2A460C1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494003
Deuteranopia (green-blind)
#463E12
Tritanopia (blue-blind)
#2B433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a460c;
/* rgb */ color: rgb(42, 70, 12);
/* oklch */ color: oklch(35.9% 0.089 132.2);
Tailwind
colors: {
  custom: {
    50: '#677950',
    500: '#2a460c',
    950: '#000000',
  },
}
SCSS
$custom: #2a460c;
$custom-light: #677950;
$custom-dark: #000000;
JSON
{
  "hex": "#2a460c",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 88.966,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35874,
    "c": 0.08948,
    "h": 132.2
  },
  "luminance": 0.04899
}

Semantic roles & 50–950 ramp

primary
#2A460C
secondary
#552C82
accent
#3AED91
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A460C

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

Preview Lab → · Contrast checker → · Palette generator →

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