#2A460E#2A460E

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

Color values

HEX#2A460E
RGBrgb(42, 70, 14)
HSLhsl(90, 67%, 16%)
HSVhsv(90, 80%, 27%)
CMYKcmyk(40%, 0%, 80%, 72.5%)
CIE-LABlab(26.46, -21.16, 28.80)
CIE-LCHlch(26.46, 35.73, 126.31°)
OKLaboklab(35.89% -0.0596 0.0649)
OKLCHoklch(35.89% 0.088 132.6)
XYZxyz(3.2242, 4.9041, 1.1921)
Luminance0.0490 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A460E #2A0E46
analogous
#46460E #2A460E #0E460E
triadic
#2A460E #0E2A46 #460E2A
tetradic
#2A460E #0E4646 #2A0E46 #460E0E
square
#2A460E #0E4646 #2A0E46 #460E0E
split-complementary
#2A460E #0E0E46 #460E46
monochromatic
#0F1A05 #0F1A05 #2A460E #497918 #67AC22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A460E#FFFFFF#000000##FFFFFF
##2A460E1.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)
#494005
Deuteranopia (green-blind)
#453E13
Tritanopia (blue-blind)
#2A433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a460e;
/* rgb */ color: rgb(42, 70, 14);
/* oklch */ color: oklch(35.9% 0.088 132.6);
Tailwind
colors: {
  custom: {
    50: '#667951',
    500: '#2a460e',
    950: '#000000',
  },
}
SCSS
$custom: #2a460e;
$custom-light: #667951;
$custom-dark: #000000;
JSON
{
  "hex": "#2a460e",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 90,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35891,
    "c": 0.08806,
    "h": 132.6
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#2A460E
secondary
#582F81
accent
#3EEA94
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A460E

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

Preview Lab → · Contrast checker → · Palette generator →

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