#2A440B#2A440B

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

Color values

HEX#2A440B
RGBrgb(42, 68, 11)
HSLhsl(87, 72%, 15%)
HSVhsv(87, 84%, 27%)
CMYKcmyk(38.2%, 0%, 83.8%, 73.3%)
CIE-LABlab(25.71, -20.36, 29.33)
CIE-LCHlch(25.71, 35.70, 124.77°)
OKLaboklab(35.28% -0.0576 0.0654)
OKLCHoklch(35.28% 0.087 131.4)
XYZxyz(3.0823, 4.6505, 1.0518)
Luminance0.0465 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A440B #250B44
analogous
#44410B #2A440B #0E440B
triadic
#2A440B #0B2A44 #440B2A
tetradic
#2A440B #0B4441 #250B44 #440B0E
square
#2A440B #0B4441 #250B44 #440B0E
split-complementary
#2A440B #0B0E44 #410B44
monochromatic
#101A04 #101A04 #2A440B #4B7914 #6BAD1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A440B#FFFFFF#000000##FFFFFF
##2A440B1.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)
#473E02
Deuteranopia (green-blind)
#443C11
Tritanopia (blue-blind)
#2B4139
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a440b;
/* rgb */ color: rgb(42, 68, 11);
/* oklch */ color: oklch(35.3% 0.087 131.4);
Tailwind
colors: {
  custom: {
    50: '#66784f',
    500: '#2a440b',
    950: '#000000',
  },
}
SCSS
$custom: #2a440b;
$custom-light: #66784f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a440b",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 11
  },
  "hsl": {
    "h": 87.368,
    "s": 72.152,
    "l": 15.49
  },
  "oklch": {
    "l": 0.35276,
    "c": 0.08721,
    "h": 131.4
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#2A440B
secondary
#522A81
accent
#39EF8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2A440B

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

Preview Lab → · Contrast checker → · Palette generator →

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