#2F5B10#2F5B10

#2F5B10 is a dark, moderate yellow-green. Relative luminance 0.081; OKLCH L 42.3% C 0.114 H 135.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2F5B10
RGBrgb(47, 91, 16)
HSLhsl(95, 70%, 21%)
HSVhsv(95, 82%, 36%)
CMYKcmyk(48.4%, 0%, 82.4%, 64.3%)
CIE-LABlab(34.24, -29.12, 35.72)
CIE-LCHlch(34.24, 46.09, 129.18°)
OKLaboklab(42.34% -0.0813 0.0796)
OKLCHoklch(42.34% 0.114 135.6)
XYZxyz(5.0068, 8.1236, 1.7943)
Luminance0.0812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B10 #3C105B
analogous
#545B10 #2F5B10 #105B16
triadic
#2F5B10 #102F5B #5B102F
tetradic
#2F5B10 #10545B #3C105B #5B1610
square
#2F5B10 #10545B #3C105B #5B1610
split-complementary
#2F5B10 #16105B #5B1054
monochromatic
#0D1A05 #142707 #2F5B10 #4A8F19 #65C322

Accessibility & contrast

On white

8.00
#2F5B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2F5B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5B10
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B10#FFFFFF#000000##FFFFFF
##2F5B101.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5301
Deuteranopia (green-blind)
#594F18
Tritanopia (blue-blind)
#2D574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f5b10;
/* rgb */ color: rgb(47, 91, 16);
/* oklch */ color: oklch(42.3% 0.114 135.6);
Tailwind
colors: {
  custom: {
    50: '#6c8a55',
    500: '#2f5b10',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b10;
$custom-light: #6c8a55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b10",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 95.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.42339,
    "c": 0.11375,
    "h": 135.6
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#2F5B10
secondary
#6C3394
accent
#3BEDA3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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