#2A630F#2A630F

#2A630F is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.128 H 138.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2A630F
RGBrgb(42, 99, 15)
HSLhsl(101, 74%, 22%)
HSVhsv(101, 85%, 39%)
CMYKcmyk(57.6%, 0%, 84.8%, 61.2%)
CIE-LABlab(36.84, -34.32, 38.45)
CIE-LCHlch(36.84, 51.54, 131.75°)
OKLaboklab(44.41% -0.095 0.0852)
OKLCHoklch(44.41% 0.128 138.1)
XYZxyz(5.5027, 9.4500, 1.9859)
Luminance0.0945 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A630F #480F63
analogous
#54630F #2A630F #0F631E
triadic
#2A630F #0F2A63 #630F2A
tetradic
#2A630F #0F5463 #480F63 #631E0F
square
#2A630F #0F5463 #480F63 #631E0F
split-complementary
#2A630F #1E0F63 #630F54
monochromatic
#0B1B04 #132E07 #2A630F #419817 #57CD1F

Accessibility & contrast

On white

7.27
#2A630F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2A630F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A630F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A630F#FFFFFF#000000##FFFFFF
##2A630F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#255F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2a630f;
/* rgb */ color: rgb(42, 99, 15);
/* oklch */ color: oklch(44.4% 0.128 138.1);
Tailwind
colors: {
  custom: {
    50: '#6b9056',
    500: '#2a630f',
    950: '#000000',
  },
}
SCSS
$custom: #2a630f;
$custom-light: #6b9056;
$custom-dark: #000000;
JSON
{
  "hex": "#2a630f",
  "rgb": {
    "r": 42,
    "g": 99,
    "b": 15
  },
  "hsl": {
    "h": 100.714,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44414,
    "c": 0.12759,
    "h": 138.1
  },
  "luminance": 0.0945
}

Semantic roles & 50–950 ramp

primary
#2A630F
secondary
#7A329C
accent
#37F0B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2A630F

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

Preview Lab → · Contrast checker → · Palette generator →

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