#2A460A#2A460A

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

Color values

HEX#2A460A
RGBrgb(42, 70, 10)
HSLhsl(88, 75%, 16%)
HSVhsv(88, 86%, 27%)
CMYKcmyk(40%, 0%, 85.7%, 72.5%)
CIE-LABlab(26.43, -21.45, 30.41)
CIE-LCHlch(26.43, 37.21, 125.19°)
OKLaboklab(35.86% -0.0607 0.0675)
OKLCHoklch(35.86% 0.091 132)
XYZxyz(3.1998, 4.8943, 1.0632)
Luminance0.0489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A460A #260A46
analogous
#46440A #2A460A #0C460A
triadic
#2A460A #0A2A46 #460A2A
tetradic
#2A460A #0A4644 #260A46 #460A0C
square
#2A460A #0A4644 #260A46 #460A0C
split-complementary
#2A460A #0A0C46 #440A46
monochromatic
#101B04 #101B04 #2A460A #4A7C12 #6AB119

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A460A#FFFFFF#000000##FFFFFF
##2A460A1.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)
#494001
Deuteranopia (green-blind)
#463E10
Tritanopia (blue-blind)
#2B433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a460a;
/* rgb */ color: rgb(42, 70, 10);
/* oklch */ color: oklch(35.9% 0.091 132.0);
Tailwind
colors: {
  custom: {
    50: '#67794f',
    500: '#2a460a',
    950: '#000000',
  },
}
SCSS
$custom: #2a460a;
$custom-light: #67794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a460a",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 10
  },
  "hsl": {
    "h": 88,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35859,
    "c": 0.09079,
    "h": 132
  },
  "luminance": 0.04894
}

Semantic roles & 50–950 ramp

primary
#2A460A
secondary
#532983
accent
#36F28E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A460A

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

Preview Lab → · Contrast checker → · Palette generator →

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