#2A4615#2A4615

#2A4615 is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 36.0% C 0.082 H 134.1°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2A4615
RGBrgb(42, 70, 21)
HSLhsl(94, 54%, 18%)
HSVhsv(94, 70%, 27%)
CMYKcmyk(40%, 0%, 70%, 72.5%)
CIE-LABlab(26.52, -20.51, 25.51)
CIE-LCHlch(26.52, 32.73, 128.79°)
OKLaboklab(35.97% -0.0571 0.059)
OKLCHoklch(35.97% 0.082 134.1)
XYZxyz(3.2803, 4.9266, 1.4874)
Luminance0.0493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4615 #311546
analogous
#424615 #2A4615 #154619
triadic
#2A4615 #152A46 #46152A
tetradic
#2A4615 #154246 #311546 #461915
square
#2A4615 #154246 #311546 #461915
split-complementary
#2A4615 #191546 #461542
monochromatic
#0E1807 #0E1807 #2A4615 #467523 #62A431

Accessibility & contrast

On white

10.58
#2A4615 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A4615 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4615
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4615#FFFFFF#000000##FFFFFF
##2A46151.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400F
Deuteranopia (green-blind)
#453E19
Tritanopia (blue-blind)
#2A433C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a4615;
/* rgb */ color: rgb(42, 70, 21);
/* oklch */ color: oklch(36.0% 0.082 134.1);
Tailwind
colors: {
  custom: {
    50: '#667955',
    500: '#2a4615',
    950: '#000000',
  },
}
SCSS
$custom: #2a4615;
$custom-light: #667955;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4615",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 21
  },
  "hsl": {
    "h": 94.286,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.08213,
    "h": 134.1
  },
  "luminance": 0.04927
}

Semantic roles & 50–950 ramp

primary
#2A4615
secondary
#60397E
accent
#4BDD9E
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4615

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

Preview Lab → · Contrast checker → · Palette generator →

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