#2F560B#2F560B

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

Color values

HEX#2F560B
RGBrgb(47, 86, 11)
HSLhsl(91, 77%, 19%)
HSVhsv(91, 87%, 34%)
CMYKcmyk(45.3%, 0%, 87.2%, 66.3%)
CIE-LABlab(32.44, -27.12, 35.77)
CIE-LCHlch(32.44, 44.89, 127.17°)
OKLaboklab(40.86% -0.0763 0.0788)
OKLCHoklch(40.86% 0.11 134.1)
XYZxyz(4.5604, 7.2838, 1.4822)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F560B #320B56
analogous
#55560B #2F560B #0B560D
triadic
#2F560B #0B2F56 #560B2F
tetradic
#2F560B #0B5556 #320B56 #560D0B
square
#2F560B #0B5556 #320B56 #560D0B
split-complementary
#2F560B #0D0B56 #560B55
monochromatic
#0F1B03 #112004 #2F560B #4D8C12 #6AC319

Accessibility & contrast

On white

8.55
#2F560B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F560B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F560B#FFFFFF#000000##FFFFFF
##2F560B1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#554B14
Tritanopia (blue-blind)
#2F5248
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f560b;
/* rgb */ color: rgb(47, 86, 11);
/* oklch */ color: oklch(40.9% 0.110 134.1);
Tailwind
colors: {
  custom: {
    50: '#6c8652',
    500: '#2f560b',
    950: '#000000',
  },
}
SCSS
$custom: #2f560b;
$custom-light: #6c8652;
$custom-dark: #000000;
JSON
{
  "hex": "#2f560b",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 11
  },
  "hsl": {
    "h": 91.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40858,
    "c": 0.10969,
    "h": 134.1
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#2F560B
secondary
#602B91
accent
#34F498
background
#F6F8F4
surface
#ECEFE7
border
#C7CAC3
text
#070B02
muted
#7A7C78

Preview Lab

Preview with #2F560B

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

Preview Lab → · Contrast checker → · Palette generator →

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