#2A5F10#2A5F10

#2A5F10 is a dark, vivid green. Relative luminance 0.087; OKLCH L 43.3% C 0.122 H 137.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2A5F10
RGBrgb(42, 95, 16)
HSLhsl(100, 71%, 22%)
HSVhsv(100, 83%, 37%)
CMYKcmyk(55.8%, 0%, 83.2%, 62.7%)
CIE-LABlab(35.43, -32.58, 36.78)
CIE-LCHlch(35.43, 49.14, 131.54°)
OKLaboklab(43.25% -0.0902 0.0819)
OKLCHoklch(43.25% 0.122 137.8)
XYZxyz(5.1404, 8.7137, 1.9011)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A5F10 #45105F
analogous
#525F10 #2A5F10 #105F1E
triadic
#2A5F10 #102A5F #5F102A
tetradic
#2A5F10 #10525F #45105F #5F1E10
square
#2A5F10 #10525F #45105F #5F1E10
split-complementary
#2A5F10 #1E105F #5F1052
monochromatic
#0C1A04 #132B07 #2A5F10 #419319 #58C822

Accessibility & contrast

On white

7.66
#2A5F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2A5F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A5F10
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A5F10#FFFFFF#000000##FFFFFF
##2A5F101.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#5B5219
Tritanopia (blue-blind)
#265B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2a5f10;
/* rgb */ color: rgb(42, 95, 16);
/* oklch */ color: oklch(43.3% 0.122 137.8);
Tailwind
colors: {
  custom: {
    50: '#6a8d55',
    500: '#2a5f10',
    950: '#000000',
  },
}
SCSS
$custom: #2a5f10;
$custom-light: #6a8d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2a5f10",
  "rgb": {
    "r": 42,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 100.253,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.43254,
    "c": 0.12186,
    "h": 137.8
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#2A5F10
secondary
#773398
accent
#3AEEB3
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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