#2F5719#2F5719

#2F5719 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.3% C 0.102 H 136.4°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#2F5719
RGBrgb(47, 87, 25)
HSLhsl(99, 55%, 22%)
HSVhsv(99, 71%, 34%)
CMYKcmyk(46%, 0%, 71.3%, 65.9%)
CIE-LABlab(32.90, -26.52, 30.55)
CIE-LCHlch(32.90, 40.46, 130.97°)
OKLaboklab(41.26% -0.0735 0.0702)
OKLCHoklch(41.26% 0.102 136.4)
XYZxyz(4.7558, 7.4906, 2.1148)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5719 #411957
analogous
#4E5719 #2F5719 #195722
triadic
#2F5719 #192F57 #57192F
tetradic
#2F5719 #194E57 #411957 #572219
square
#2F5719 #194E57 #411957 #572219
split-complementary
#2F5719 #221957 #57194E
monochromatic
#0D1807 #15270B #2F5719 #498727 #62B634

Accessibility & contrast

On white

8.41
#2F5719 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F5719 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5719
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5719#FFFFFF#000000##FFFFFF
##2F57191.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F11
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#2D544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5719;
/* rgb */ color: rgb(47, 87, 25);
/* oklch */ color: oklch(41.3% 0.102 136.4);
Tailwind
colors: {
  custom: {
    50: '#6b8759',
    500: '#2f5719',
    950: '#000000',
  },
}
SCSS
$custom: #2f5719;
$custom-light: #6b8759;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5719",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 25
  },
  "hsl": {
    "h": 98.71,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.10164,
    "h": 136.4
  },
  "luminance": 0.07491
}

Semantic roles & 50–950 ramp

primary
#2F5719
secondary
#713E8D
accent
#49DFAA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B04
muted
#7A7C79

Preview Lab

Preview with #2F5719

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

Preview Lab → · Contrast checker → · Palette generator →

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