#2F5310#2F5310

#2F5310 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.0% C 0.103 H 134.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2F5310
RGBrgb(47, 83, 16)
HSLhsl(92, 68%, 19%)
HSVhsv(92, 81%, 33%)
CMYKcmyk(43.4%, 0%, 80.7%, 67.5%)
CIE-LABlab(31.41, -25.39, 32.98)
CIE-LCHlch(31.41, 41.62, 127.59°)
OKLaboklab(40.02% -0.0712 0.0739)
OKLCHoklch(40.02% 0.103 134)
XYZxyz(4.3590, 6.8280, 1.5784)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5310 #341053
analogous
#515310 #2F5310 #105313
triadic
#2F5310 #102F53 #53102F
tetradic
#2F5310 #105153 #341053 #531310
square
#2F5310 #105153 #341053 #531310
split-complementary
#2F5310 #131053 #531051
monochromatic
#0F1A05 #122006 #2F5310 #4C861A #69BA24

Accessibility & contrast

On white

8.88
#2F5310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2F5310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5310
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5310#FFFFFF#000000##FFFFFF
##2F53101.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C04
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#2F4F46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f5310;
/* rgb */ color: rgb(47, 83, 16);
/* oklch */ color: oklch(40.0% 0.103 134.0);
Tailwind
colors: {
  custom: {
    50: '#6b8354',
    500: '#2f5310',
    950: '#000000',
  },
}
SCSS
$custom: #2f5310;
$custom-light: #6b8354;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5310",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 92.239,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40022,
    "c": 0.1026,
    "h": 134
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#2F5310
secondary
#63328D
accent
#3DEB9A
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F5310

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

Preview Lab → · Contrast checker → · Palette generator →

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