#2F7510#2F7510

#2F7510 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.8% C 0.147 H 138.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#2F7510
RGBrgb(47, 117, 16)
HSLhsl(102, 76%, 26%)
HSVhsv(102, 86%, 46%)
CMYKcmyk(59.8%, 0%, 86.3%, 54.1%)
CIE-LABlab(43.31, -39.97, 44.16)
CIE-LCHlch(43.31, 59.57, 132.15°)
OKLaboklab(49.81% -0.1104 0.0973)
OKLCHoklch(49.81% 0.147 138.6)
XYZxyz(7.6268, 13.3637, 2.6676)
Luminance0.1336 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7510 #561075
analogous
#617510 #2F7510 #107523
triadic
#2F7510 #102F75 #75102F
tetradic
#2F7510 #106175 #561075 #752310
square
#2F7510 #106175 #561075 #752310
split-complementary
#2F7510 #231075 #751061
monochromatic
#0B1B04 #193F09 #2F7510 #45AB17 #5AE01F

Accessibility & contrast

On white

5.72
#2F7510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2F7510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7510
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7510#FFFFFF#000000##FFFFFF
##2F75101.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641D
Tritanopia (blue-blind)
#287163
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7510;
/* rgb */ color: rgb(47, 117, 16);
/* oklch */ color: oklch(49.8% 0.147 138.6);
Tailwind
colors: {
  custom: {
    50: '#719d59',
    500: '#2f7510',
    950: '#000000',
  },
}
SCSS
$custom: #2f7510;
$custom-light: #719d59;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7510",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 16
  },
  "hsl": {
    "h": 101.584,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.49809,
    "c": 0.14715,
    "h": 138.6
  },
  "luminance": 0.13364
}

Semantic roles & 50–950 ramp

primary
#2F7510
secondary
#8735AC
accent
#35F3B8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7510

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

Preview Lab → · Contrast checker → · Palette generator →

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