#2F560F#2F560F

#2F560F is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 40.9% C 0.107 H 134.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2F560F
RGBrgb(47, 86, 15)
HSLhsl(93, 70%, 20%)
HSVhsv(93, 83%, 34%)
CMYKcmyk(45.3%, 0%, 82.6%, 66.3%)
CIE-LABlab(32.47, -26.88, 34.39)
CIE-LCHlch(32.47, 43.65, 128.01°)
OKLaboklab(40.88% -0.0753 0.0766)
OKLCHoklch(40.88% 0.107 134.5)
XYZxyz(4.5862, 7.2942, 1.6181)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F560F #360F56
analogous
#53560F #2F560F #0F5613
triadic
#2F560F #0F2F56 #560F2F
tetradic
#2F560F #0F5356 #360F56 #56130F
square
#2F560F #0F5356 #360F56 #56130F
split-complementary
#2F560F #130F56 #560F53
monochromatic
#0E1A05 #132206 #2F560F #4B8A18 #68BE21

Accessibility & contrast

On white

8.54
#2F560F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F560F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F560F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F560F#FFFFFF#000000##FFFFFF
##2F560F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E01
Deuteranopia (green-blind)
#544B16
Tritanopia (blue-blind)
#2E5249
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f560f;
/* rgb */ color: rgb(47, 86, 15);
/* oklch */ color: oklch(40.9% 0.107 134.5);
Tailwind
colors: {
  custom: {
    50: '#6c8654',
    500: '#2f560f',
    950: '#000000',
  },
}
SCSS
$custom: #2f560f;
$custom-light: #6c8654;
$custom-dark: #000000;
JSON
{
  "hex": "#2f560f",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 15
  },
  "hsl": {
    "h": 92.958,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40884,
    "c": 0.10746,
    "h": 134.5
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#2F560F
secondary
#653190
accent
#3BED9D
background
#F6F8F5
surface
#ECEFE8
border
#C7CAC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F560F

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

Preview Lab → · Contrast checker → · Palette generator →

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