#2A760F#2A760F

#2A760F is a mid, vivid green. Relative luminance 0.135; OKLCH L 49.9% C 0.151 H 139.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#2A760F
RGBrgb(42, 118, 15)
HSLhsl(104, 77%, 26%)
HSVhsv(104, 87%, 46%)
CMYKcmyk(64.4%, 0%, 87.3%, 53.7%)
CIE-LABlab(43.48, -41.75, 44.54)
CIE-LCHlch(43.48, 61.04, 133.15°)
OKLaboklab(49.91% -0.1149 0.098)
OKLCHoklch(49.91% 0.151 139.5)
XYZxyz(7.5192, 13.4829, 2.6581)
Luminance0.1348 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A760F #5B0F76
analogous
#5D760F #2A760F #0F7627
triadic
#2A760F #0F2A76 #760F2A
tetradic
#2A760F #0F5D76 #5B0F76 #76270F
square
#2A760F #0F5D76 #5B0F76 #76270F
split-complementary
#2A760F #270F76 #760F5D
monochromatic
#0A1B03 #174008 #2A760F #3DAC16 #51E21D

Accessibility & contrast

On white

5.68
#2A760F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2A760F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A760F
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A760F#FFFFFF#000000##FFFFFF
##2A760F1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6A00
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#207264
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a760f;
/* rgb */ color: rgb(42, 118, 15);
/* oklch */ color: oklch(49.9% 0.151 139.5);
Tailwind
colors: {
  custom: {
    50: '#6f9e59',
    500: '#2a760f',
    950: '#000000',
  },
}
SCSS
$custom: #2a760f;
$custom-light: #6f9e59;
$custom-dark: #000000;
JSON
{
  "hex": "#2a760f",
  "rgb": {
    "r": 42,
    "g": 118,
    "b": 15
  },
  "hsl": {
    "h": 104.272,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49906,
    "c": 0.15099,
    "h": 139.5
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#2A760F
secondary
#8D33AD
accent
#34F4C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2A760F

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

Preview Lab → · Contrast checker → · Palette generator →

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