#2A460B#2A460B

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

Color values

HEX#2A460B
RGBrgb(42, 70, 11)
HSLhsl(88, 73%, 16%)
HSVhsv(88, 84%, 27%)
CMYKcmyk(40%, 0%, 84.3%, 72.5%)
CIE-LABlab(26.44, -21.38, 30.03)
CIE-LCHlch(26.44, 36.86, 125.45°)
OKLaboklab(35.87% -0.0604 0.0669)
OKLCHoklch(35.87% 0.09 132.1)
XYZxyz(3.2054, 4.8966, 1.0928)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A460B #270B46
analogous
#46440B #2A460B #0C460B
triadic
#2A460B #0B2A46 #460B2A
tetradic
#2A460B #0B4644 #270B46 #460B0C
square
#2A460B #0B4644 #270B46 #460B0C
split-complementary
#2A460B #0B0C46 #440B46
monochromatic
#101A04 #101A04 #2A460B #4A7B13 #69B01C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A460B#FFFFFF#000000##FFFFFF
##2A460B1.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)
#494002
Deuteranopia (green-blind)
#463E11
Tritanopia (blue-blind)
#2B433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a460b;
/* rgb */ color: rgb(42, 70, 11);
/* oklch */ color: oklch(35.9% 0.090 132.1);
Tailwind
colors: {
  custom: {
    50: '#67794f',
    500: '#2a460b',
    950: '#000000',
  },
}
SCSS
$custom: #2a460b;
$custom-light: #67794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a460b",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 88.475,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35866,
    "c": 0.09015,
    "h": 132.1
  },
  "luminance": 0.04897
}

Semantic roles & 50–950 ramp

primary
#2A460B
secondary
#542A82
accent
#38F08F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A460B

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

Preview Lab → · Contrast checker → · Palette generator →

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