#2A440F#2A440F

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

Color values

HEX#2A440F
RGBrgb(42, 68, 15)
HSLhsl(89, 64%, 16%)
HSVhsv(89, 78%, 27%)
CMYKcmyk(38.2%, 0%, 77.9%, 73.3%)
CIE-LABlab(25.75, -20.05, 27.62)
CIE-LCHlch(25.75, 34.13, 125.97°)
OKLaboklab(35.31% -0.0564 0.0626)
OKLCHoklch(35.31% 0.084 132.1)
XYZxyz(3.1082, 4.6609, 1.1877)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A440F #290F44
analogous
#44440F #2A440F #10440F
triadic
#2A440F #0F2A44 #440F2A
tetradic
#2A440F #0F4444 #290F44 #440F10
square
#2A440F #0F4444 #290F44 #440F10
split-complementary
#2A440F #0F1044 #440F44
monochromatic
#0F1906 #0F1906 #2A440F #49761A #68A825

Accessibility & contrast

On white

10.87
#2A440F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A440F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A440F#FFFFFF#000000##FFFFFF
##2A440F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a440f;
/* rgb */ color: rgb(42, 68, 15);
/* oklch */ color: oklch(35.3% 0.084 132.1);
Tailwind
colors: {
  custom: {
    50: '#667851',
    500: '#2a440f',
    950: '#000000',
  },
}
SCSS
$custom: #2a440f;
$custom-light: #667851;
$custom-dark: #000000;
JSON
{
  "hex": "#2a440f",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 15
  },
  "hsl": {
    "h": 89.434,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35311,
    "c": 0.08426,
    "h": 132.1
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

primary
#2A440F
secondary
#57307E
accent
#41E792
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A440F

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

Preview Lab → · Contrast checker → · Palette generator →

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