#2F560D#2F560D

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

Color values

HEX#2F560D
RGBrgb(47, 86, 13)
HSLhsl(92, 74%, 19%)
HSVhsv(92, 85%, 34%)
CMYKcmyk(45.3%, 0%, 84.9%, 66.3%)
CIE-LABlab(32.46, -27.01, 35.11)
CIE-LCHlch(32.46, 44.30, 127.57°)
OKLaboklab(40.87% -0.0758 0.0778)
OKLCHoklch(40.87% 0.109 134.3)
XYZxyz(4.5726, 7.2887, 1.5466)
Luminance0.0729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F560D #340D56
analogous
#54560D #2F560D #0D5610
triadic
#2F560D #0D2F56 #560D2F
tetradic
#2F560D #0D5456 #340D56 #56100D
square
#2F560D #0D5456 #340D56 #56100D
split-complementary
#2F560D #100D56 #560D54
monochromatic
#0F1B04 #122105 #2F560D #4C8B15 #69C01D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F560D#FFFFFF#000000##FFFFFF
##2F560D1.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)
#5A4E00
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#2E5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f560d;
/* rgb */ color: rgb(47, 86, 13);
/* oklch */ color: oklch(40.9% 0.109 134.3);
Tailwind
colors: {
  custom: {
    50: '#6c8653',
    500: '#2f560d',
    950: '#000000',
  },
}
SCSS
$custom: #2f560d;
$custom-light: #6c8653;
$custom-dark: #000000;
JSON
{
  "hex": "#2f560d",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 13
  },
  "hsl": {
    "h": 92.055,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.10863,
    "h": 134.3
  },
  "luminance": 0.07289
}

Semantic roles & 50–950 ramp

primary
#2F560D
secondary
#632E91
accent
#37F09A
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F560D

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

Preview Lab → · Contrast checker → · Palette generator →

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