#2A460F#2A460F

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

Color values

HEX#2A460F
RGBrgb(42, 70, 15)
HSLhsl(91, 65%, 17%)
HSVhsv(91, 79%, 27%)
CMYKcmyk(40%, 0%, 78.6%, 72.5%)
CIE-LABlab(26.47, -21.08, 28.36)
CIE-LCHlch(26.47, 35.34, 126.62°)
OKLaboklab(35.9% -0.0592 0.0641)
OKLCHoklch(35.9% 0.087 132.7)
XYZxyz(3.2312, 4.9069, 1.2287)
Luminance0.0491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A460F #2B0F46
analogous
#46460F #2A460F #0F460F
triadic
#2A460F #0F2A46 #460F2A
tetradic
#2A460F #0F4646 #2B0F46 #460F0F
square
#2A460F #0F4646 #2B0F46 #460F0F
split-complementary
#2A460F #0F0F46 #460F46
monochromatic
#0F1905 #0F1905 #2A460F #48781A #66AB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A460F#FFFFFF#000000##FFFFFF
##2A460F1.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)
#494007
Deuteranopia (green-blind)
#453E14
Tritanopia (blue-blind)
#2A433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a460f;
/* rgb */ color: rgb(42, 70, 15);
/* oklch */ color: oklch(35.9% 0.087 132.7);
Tailwind
colors: {
  custom: {
    50: '#667951',
    500: '#2a460f',
    950: '#000000',
  },
}
SCSS
$custom: #2a460f;
$custom-light: #667951;
$custom-dark: #000000;
JSON
{
  "hex": "#2a460f",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 90.545,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.359,
    "c": 0.0873,
    "h": 132.7
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#2A460F
secondary
#593080
accent
#40E895
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A460F

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

Preview Lab → · Contrast checker → · Palette generator →

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