#2F7523#2F7523

#2F7523 is a mid, vivid green. Relative luminance 0.134; OKLCH L 50.0% C 0.136 H 140.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#2F7523
RGBrgb(47, 117, 35)
HSLhsl(111, 54%, 30%)
HSVhsv(111, 70%, 46%)
CMYKcmyk(59.8%, 0%, 70.1%, 54.1%)
CIE-LABlab(43.43, -38.54, 37.26)
CIE-LCHlch(43.43, 53.61, 135.97°)
OKLaboklab(49.95% -0.1054 0.0856)
OKLCHoklch(49.95% 0.136 140.9)
XYZxyz(7.8366, 13.4476, 3.7725)
Luminance0.1345 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7523 #692375
analogous
#587523 #2F7523 #237540
triadic
#2F7523 #232F75 #75232F
tetradic
#2F7523 #235875 #692375 #754023
square
#2F7523 #235875 #692375 #754023
split-complementary
#2F7523 #402375 #752358
monochromatic
#091807 #1C4615 #2F7523 #42A431 #5CC94A

Accessibility & contrast

On white

5.69
#2F7523 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2F7523 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7523
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7523#FFFFFF#000000##FFFFFF
##2F75231.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A18
Deuteranopia (green-blind)
#6F642A
Tritanopia (blue-blind)
#267164
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7523;
/* rgb */ color: rgb(47, 117, 35);
/* oklch */ color: oklch(50.0% 0.136 140.9);
Tailwind
colors: {
  custom: {
    50: '#709d62',
    500: '#2f7523',
    950: '#000000',
  },
}
SCSS
$custom: #2f7523;
$custom-light: #709d62;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7523",
  "rgb": {
    "r": 47,
    "g": 117,
    "b": 35
  },
  "hsl": {
    "h": 111.22,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49951,
    "c": 0.13582,
    "h": 140.9
  },
  "luminance": 0.13448
}

Semantic roles & 50–950 ramp

primary
#2F7523
secondary
#9A4CA8
accent
#4ADDC8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A

Preview Lab

Preview with #2F7523

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

Preview Lab → · Contrast checker → · Palette generator →

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