#2F5710#2F5710

#2F5710 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.108 H 134.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2F5710
RGBrgb(47, 87, 16)
HSLhsl(94, 69%, 20%)
HSVhsv(94, 82%, 34%)
CMYKcmyk(46%, 0%, 81.6%, 65.9%)
CIE-LABlab(32.83, -27.28, 34.36)
CIE-LCHlch(32.83, 43.87, 128.45°)
OKLaboklab(41.18% -0.0763 0.0767)
OKLCHoklch(41.18% 0.108 134.8)
XYZxyz(4.6739, 7.4579, 1.6833)
Luminance0.0746 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5710 #381057
analogous
#525710 #2F5710 #105715
triadic
#2F5710 #102F57 #57102F
tetradic
#2F5710 #105257 #381057 #571510
square
#2F5710 #105257 #381057 #571510
split-complementary
#2F5710 #151057 #571052
monochromatic
#0E1A05 #132306 #2F5710 #4B8B1A #67BE23

Accessibility & contrast

On white

8.43
#2F5710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F5710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5710
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5710#FFFFFF#000000##FFFFFF
##2F57101.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F02
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#2E534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5710;
/* rgb */ color: rgb(47, 87, 16);
/* oklch */ color: oklch(41.2% 0.108 134.8);
Tailwind
colors: {
  custom: {
    50: '#6c8754',
    500: '#2f5710',
    950: '#000000',
  },
}
SCSS
$custom: #2f5710;
$custom-light: #6c8754;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5710",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 93.803,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41181,
    "c": 0.10824,
    "h": 134.8
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#2F5710
secondary
#673290
accent
#3CEC9F
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5710

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

Preview Lab → · Contrast checker → · Palette generator →

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