#2F5316#2F5316

#2F5316 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.1% C 0.098 H 135.0°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2F5316
RGBrgb(47, 83, 22)
HSLhsl(95, 58%, 21%)
HSVhsv(95, 73%, 33%)
CMYKcmyk(43.4%, 0%, 73.5%, 67.5%)
CIE-LABlab(31.46, -24.90, 30.43)
CIE-LCHlch(31.46, 39.31, 129.29°)
OKLaboklab(40.08% -0.0694 0.0695)
OKLCHoklch(40.08% 0.098 135)
XYZxyz(4.4103, 6.8486, 1.8484)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5316 #3A1653
analogous
#4D5316 #2F5316 #16531B
triadic
#2F5316 #162F53 #53162F
tetradic
#2F5316 #164D53 #3A1653 #531B16
square
#2F5316 #164D53 #3A1653 #531B16
split-complementary
#2F5316 #1B1653 #53164D
monochromatic
#0E1806 #142309 #2F5316 #4A8323 #66B430

Accessibility & contrast

On white

8.86
#2F5316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5316
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5316#FFFFFF#000000##FFFFFF
##2F53161.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0D
Deuteranopia (green-blind)
#51491B
Tritanopia (blue-blind)
#2E5047
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f5316;
/* rgb */ color: rgb(47, 83, 22);
/* oklch */ color: oklch(40.1% 0.098 135.0);
Tailwind
colors: {
  custom: {
    50: '#6b8357',
    500: '#2f5316',
    950: '#000000',
  },
}
SCSS
$custom: #2f5316;
$custom-light: #6b8357;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5316",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 22
  },
  "hsl": {
    "h": 95.41,
    "s": 58.095,
    "l": 20.588
  },
  "oklch": {
    "l": 0.40076,
    "c": 0.09817,
    "h": 135
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#2F5316
secondary
#6A3A8A
accent
#46E1A2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F5316

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

Preview Lab → · Contrast checker → · Palette generator →

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