#2F5D10#2F5D10

#2F5D10 is a dark, moderate yellow-green. Relative luminance 0.085; OKLCH L 42.9% C 0.116 H 135.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2F5D10
RGBrgb(47, 93, 16)
HSLhsl(96, 71%, 21%)
HSVhsv(96, 83%, 36%)
CMYKcmyk(49.5%, 0%, 82.8%, 63.5%)
CIE-LABlab(34.94, -30.01, 36.40)
CIE-LCHlch(34.94, 47.18, 129.51°)
OKLaboklab(42.92% -0.0837 0.081)
OKLCHoklch(42.92% 0.116 135.9)
XYZxyz(5.1800, 8.4701, 1.8521)
Luminance0.0847 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D10 #3E105D
analogous
#565D10 #2F5D10 #105D18
triadic
#2F5D10 #102F5D #5D102F
tetradic
#2F5D10 #10565D #3E105D #5D1810
square
#2F5D10 #10565D #3E105D #5D1810
split-complementary
#2F5D10 #18105D #5D1056
monochromatic
#0D1A04 #152907 #2F5D10 #499119 #64C522

Accessibility & contrast

On white

7.80
#2F5D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2F5D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5D10
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D10#FFFFFF#000000##FFFFFF
##2F5D101.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615500
Deuteranopia (green-blind)
#5B5118
Tritanopia (blue-blind)
#2D594F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f5d10;
/* rgb */ color: rgb(47, 93, 16);
/* oklch */ color: oklch(42.9% 0.116 135.9);
Tailwind
colors: {
  custom: {
    50: '#6d8b55',
    500: '#2f5d10',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d10;
$custom-light: #6d8b55;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d10",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 16
  },
  "hsl": {
    "h": 95.844,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42917,
    "c": 0.11647,
    "h": 135.9
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#2F5D10
secondary
#6E3396
accent
#3AEDA5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5D10

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

Preview Lab → · Contrast checker → · Palette generator →

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