#2A451A#2A451A

#2A451A is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.075 H 135.3°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2A451A
RGBrgb(42, 69, 26)
HSLhsl(98, 45%, 19%)
HSVhsv(98, 62%, 27%)
CMYKcmyk(39.1%, 0%, 62.3%, 72.9%)
CIE-LABlab(26.22, -19.39, 22.47)
CIE-LCHlch(26.22, 29.68, 130.80°)
OKLaboklab(35.74% -0.0536 0.0531)
OKLCHoklch(35.74% 0.075 135.3)
XYZxyz(3.2693, 4.8229, 1.7357)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A451A #351A45
analogous
#3F451A #2A451A #1A451F
triadic
#2A451A #1A2A45 #451A2A
tetradic
#2A451A #1A3F45 #351A45 #451F1A
square
#2A451A #1A3F45 #351A45 #451F1A
split-complementary
#2A451A #1F1A45 #451A3F
monochromatic
#0E1608 #0F1909 #2A451A #45712B #609E3B

Accessibility & contrast

On white

10.69
#2A451A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2A451A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A451A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A451A#FFFFFF#000000##FFFFFF
##2A451A1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F16
Deuteranopia (green-blind)
#443D1D
Tritanopia (blue-blind)
#29423B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2a451a;
/* rgb */ color: rgb(42, 69, 26);
/* oklch */ color: oklch(35.7% 0.075 135.3);
Tailwind
colors: {
  custom: {
    50: '#657958',
    500: '#2a451a',
    950: '#000000',
  },
}
SCSS
$custom: #2a451a;
$custom-light: #657958;
$custom-dark: #000000;
JSON
{
  "hex": "#2a451a",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 26
  },
  "hsl": {
    "h": 97.674,
    "s": 45.263,
    "l": 18.627
  },
  "oklch": {
    "l": 0.35739,
    "c": 0.07546,
    "h": 135.3
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#2A451A
secondary
#65407B
accent
#53D5A5
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2A451A

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

Preview Lab → · Contrast checker → · Palette generator →

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