#2A5035#2A5035

#2A5035 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.5% C 0.063 H 151.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2A5035
RGBrgb(42, 80, 53)
HSLhsl(137, 31%, 24%)
HSVhsv(137, 48%, 31%)
CMYKcmyk(47.5%, 0%, 33.7%, 68.6%)
CIE-LABlab(30.61, -20.47, 11.81)
CIE-LCHlch(30.61, 23.63, 150.02°)
OKLaboklab(39.46% -0.0559 0.0299)
OKLCHoklch(39.46% 0.063 151.9)
XYZxyz(4.4658, 6.4863, 4.3841)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5035 #502A45
analogous
#32502A #2A5035 #2A5048
triadic
#2A5035 #352A50 #50352A
tetradic
#2A5035 #2A3250 #502A45 #50482A
square
#2A5035 #2A3250 #502A45 #50482A
split-complementary
#2A5035 #482A50 #502A32
monochromatic
#0B140D #15281A #2A5035 #3F7850 #54A06A

Accessibility & contrast

On white

9.14
#2A5035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2A5035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5035
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5035#FFFFFF#000000##FFFFFF
##2A50351.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504A33
Deuteranopia (green-blind)
#4B4637
Tritanopia (blue-blind)
#234F49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a5035;
/* rgb */ color: rgb(42, 80, 53);
/* oklch */ color: oklch(39.5% 0.063 151.9);
Tailwind
colors: {
  custom: {
    50: '#66816c',
    500: '#2a5035',
    950: '#000000',
  },
}
SCSS
$custom: #2a5035;
$custom-light: #66816c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5035",
  "rgb": {
    "r": 42,
    "g": 80,
    "b": 53
  },
  "hsl": {
    "h": 137.368,
    "s": 31.148,
    "l": 23.922
  },
  "oklch": {
    "l": 0.39462,
    "c": 0.06336,
    "h": 151.9
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#2A5035
secondary
#825475
accent
#60AAC7
background
#F6F7F6
surface
#EBEEEB
border
#C6C9C6
text
#060A07
muted
#7A7C7A

Preview Lab

Preview with #2A5035

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

Preview Lab → · Contrast checker → · Palette generator →

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