#2A440C#2A440C

#2A440C is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.3% C 0.087 H 131.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#2A440C
RGBrgb(42, 68, 12)
HSLhsl(88, 70%, 16%)
HSVhsv(88, 82%, 27%)
CMYKcmyk(38.2%, 0%, 82.4%, 73.3%)
CIE-LABlab(25.72, -20.29, 28.92)
CIE-LCHlch(25.72, 35.33, 125.05°)
OKLaboklab(35.28% -0.0574 0.0648)
OKLCHoklch(35.28% 0.087 131.5)
XYZxyz(3.0883, 4.6529, 1.0831)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A440C #260C44
analogous
#44420C #2A440C #0E440C
triadic
#2A440C #0C2A44 #440C2A
tetradic
#2A440C #0C4442 #260C44 #440C0E
square
#2A440C #0C4442 #260C44 #440C0E
split-complementary
#2A440C #0C0E44 #420C44
monochromatic
#101A05 #101A05 #2A440C #4A7815 #6AAC1E

Accessibility & contrast

On white

10.88
#2A440C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2A440C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A440C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A440C#FFFFFF#000000##FFFFFF
##2A440C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E03
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#2B4139
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a440c;
/* rgb */ color: rgb(42, 68, 12);
/* oklch */ color: oklch(35.3% 0.087 131.5);
Tailwind
colors: {
  custom: {
    50: '#66784f',
    500: '#2a440c',
    950: '#000000',
  },
}
SCSS
$custom: #2a440c;
$custom-light: #66784f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a440c",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 12
  },
  "hsl": {
    "h": 87.857,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35284,
    "c": 0.08652,
    "h": 131.5
  },
  "luminance": 0.04653
}

Semantic roles & 50–950 ramp

primary
#2A440C
secondary
#532C80
accent
#3BED8E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A440C

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

Preview Lab → · Contrast checker → · Palette generator →

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