#2A3018#2A3018

#2A3018 is a dark, muted yellow-green. Relative luminance 0.027; OKLCH L 29.6% C 0.041 H 120.4°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#2A3018
RGBrgb(42, 48, 24)
HSLhsl(75, 33%, 14%)
HSVhsv(75, 50%, 19%)
CMYKcmyk(12.5%, 0%, 50%, 81.2%)
CIE-LABlab(18.68, -7.49, 14.49)
CIE-LCHlch(18.68, 16.32, 117.33°)
OKLaboklab(29.63% -0.0207 0.0353)
OKLCHoklch(29.63% 0.041 120.4)
XYZxyz(2.1767, 2.6721, 1.2651)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3018 #1E1830
analogous
#302A18 #2A3018 #1E3018
triadic
#2A3018 #182A30 #30182A
tetradic
#2A3018 #18302A #1E1830 #30181E
square
#2A3018 #18302A #1E1830 #30181E
split-complementary
#2A3018 #181E30 #2A1830
monochromatic
#12140A #12140A #2A3018 #4E592C #718241

Accessibility & contrast

On white

13.69
#2A3018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2A3018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3018
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3018#FFFFFF#000000##FFFFFF
##2A30181.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E16
Deuteranopia (green-blind)
#322E19
Tritanopia (blue-blind)
#2C2E2A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2a3018;
/* rgb */ color: rgb(42, 48, 24);
/* oklch */ color: oklch(29.6% 0.041 120.4);
Tailwind
colors: {
  custom: {
    50: '#646855',
    500: '#2a3018',
    950: '#000000',
  },
}
SCSS
$custom: #2a3018;
$custom-light: #646855;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3018",
  "rgb": {
    "r": 42,
    "g": 48,
    "b": 24
  },
  "hsl": {
    "h": 75,
    "s": 33.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.29634,
    "c": 0.0409,
    "h": 120.4
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#2A3018
secondary
#483F65
accent
#5EC979
background
#F6F6F4
surface
#EBEBE8
border
#C6C6C4
text
#050603
muted
#7A7A78

Preview Lab

Preview with #2A3018

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

Preview Lab → · Contrast checker → · Palette generator →

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