#2F5319#2F5319

#2F5319 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.1% C 0.096 H 135.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#2F5319
RGBrgb(47, 83, 25)
HSLhsl(97, 54%, 21%)
HSVhsv(97, 70%, 33%)
CMYKcmyk(43.4%, 0%, 69.9%, 67.5%)
CIE-LABlab(31.49, -24.60, 29.02)
CIE-LCHlch(31.49, 38.05, 130.29°)
OKLaboklab(40.11% -0.0683 0.0669)
OKLCHoklch(40.11% 0.096 135.6)
XYZxyz(4.4409, 6.8608, 2.0098)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5319 #3D1953
analogous
#4C5319 #2F5319 #195320
triadic
#2F5319 #192F53 #53192F
tetradic
#2F5319 #194C53 #3D1953 #532019
square
#2F5319 #194C53 #3D1953 #532019
split-complementary
#2F5319 #201953 #53194C
monochromatic
#0D1807 #14240B #2F5319 #4A8227 #64B135

Accessibility & contrast

On white

8.85
#2F5319 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F5319
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5319#FFFFFF#000000##FFFFFF
##2F53191.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f5319;
/* rgb */ color: rgb(47, 83, 25);
/* oklch */ color: oklch(40.1% 0.096 135.6);
Tailwind
colors: {
  custom: {
    50: '#6b8359',
    500: '#2f5319',
    950: '#000000',
  },
}
SCSS
$custom: #2f5319;
$custom-light: #6b8359;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5319",
  "rgb": {
    "r": 47,
    "g": 83,
    "b": 25
  },
  "hsl": {
    "h": 97.241,
    "s": 53.704,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40108,
    "c": 0.09563,
    "h": 135.6
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#2F5319
secondary
#6D3E89
accent
#4BDDA6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2F5319

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

Preview Lab → · Contrast checker → · Palette generator →

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