#2A6924#2A6924

#2A6924 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.121 H 141.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#2A6924
RGBrgb(42, 105, 36)
HSLhsl(115, 49%, 28%)
HSVhsv(115, 66%, 41%)
CMYKcmyk(60%, 0%, 65.7%, 58.8%)
CIE-LABlab(39.11, -34.92, 32.00)
CIE-LCHlch(39.11, 47.37, 137.50°)
OKLaboklab(46.34% -0.0952 0.0746)
OKLCHoklch(46.34% 0.121 141.9)
XYZxyz(6.3245, 10.7222, 3.4050)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6924 #632469
analogous
#4C6924 #2A6924 #246941
triadic
#2A6924 #242A69 #69242A
tetradic
#2A6924 #244C69 #632469 #694124
square
#2A6924 #244C69 #632469 #694124
split-complementary
#2A6924 #412469 #69244C
monochromatic
#091708 #183B14 #2A6924 #3C9734 #52C047

Accessibility & contrast

On white

6.68
#2A6924 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2A6924 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6924
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6924#FFFFFF#000000##FFFFFF
##2A69241.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F1C
Deuteranopia (green-blind)
#635A2A
Tritanopia (blue-blind)
#21665A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2a6924;
/* rgb */ color: rgb(42, 105, 36);
/* oklch */ color: oklch(46.3% 0.121 141.9);
Tailwind
colors: {
  custom: {
    50: '#6b9462',
    500: '#2a6924',
    950: '#000000',
  },
}
SCSS
$custom: #2a6924;
$custom-light: #6b9462;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6924",
  "rgb": {
    "r": 42,
    "g": 105,
    "b": 36
  },
  "hsl": {
    "h": 114.783,
    "s": 48.936,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46341,
    "c": 0.121,
    "h": 141.9
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#2A6924
secondary
#954D9C
accent
#4FD8CD
background
#F6F9F5
surface
#ECF1EA
border
#C7CBC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #2A6924

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

Preview Lab → · Contrast checker → · Palette generator →

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