#2A4416#2A4416

#2A4416 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.078 H 133.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2A4416
RGBrgb(42, 68, 22)
HSLhsl(94, 51%, 18%)
HSVhsv(94, 68%, 27%)
CMYKcmyk(38.2%, 0%, 67.6%, 73.3%)
CIE-LABlab(25.82, -19.35, 24.19)
CIE-LCHlch(25.82, 30.98, 128.66°)
OKLaboklab(35.39% -0.0539 0.0563)
OKLCHoklch(35.39% 0.078 133.7)
XYZxyz(3.1667, 4.6843, 1.4962)
Luminance0.0468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4416 #301644
analogous
#414416 #2A4416 #164419
triadic
#2A4416 #162A44 #44162A
tetradic
#2A4416 #164144 #301644 #441916
square
#2A4416 #164144 #301644 #441916
split-complementary
#2A4416 #191644 #441641
monochromatic
#0E1707 #0E1707 #2A4416 #477225 #63A034

Accessibility & contrast

On white

10.84
#2A4416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A4416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4416
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4416#FFFFFF#000000##FFFFFF
##2A44161.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E11
Deuteranopia (green-blind)
#433C19
Tritanopia (blue-blind)
#2A413A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a4416;
/* rgb */ color: rgb(42, 68, 22);
/* oklch */ color: oklch(35.4% 0.078 133.7);
Tailwind
colors: {
  custom: {
    50: '#667855',
    500: '#2a4416',
    950: '#000000',
  },
}
SCSS
$custom: #2a4416;
$custom-light: #667855;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4416",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 22
  },
  "hsl": {
    "h": 93.913,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35391,
    "c": 0.07796,
    "h": 133.7
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#2A4416
secondary
#5F3A7B
accent
#4DDB9D
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A4416

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

Preview Lab → · Contrast checker → · Palette generator →

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