#2F5718#2F5718

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

Color values

HEX#2F5718
RGBrgb(47, 87, 24)
HSLhsl(98, 57%, 22%)
HSVhsv(98, 72%, 34%)
CMYKcmyk(46%, 0%, 72.4%, 65.9%)
CIE-LABlab(32.89, -26.62, 31.01)
CIE-LCHlch(32.89, 40.87, 130.65°)
OKLaboklab(41.25% -0.0739 0.071)
OKLCHoklch(41.25% 0.102 136.2)
XYZxyz(4.7452, 7.4864, 2.0590)
Luminance0.0749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5718 #401857
analogous
#4F5718 #2F5718 #185721
triadic
#2F5718 #182F57 #57182F
tetradic
#2F5718 #184F57 #401857 #572118
square
#2F5718 #184F57 #401857 #572118
split-complementary
#2F5718 #211857 #57184F
monochromatic
#0D1807 #15270B #2F5718 #498725 #63B732

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F5718#FFFFFF#000000##FFFFFF
##2F57181.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)
#5A4F0F
Deuteranopia (green-blind)
#554C1D
Tritanopia (blue-blind)
#2D544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5718;
/* rgb */ color: rgb(47, 87, 24);
/* oklch */ color: oklch(41.3% 0.102 136.2);
Tailwind
colors: {
  custom: {
    50: '#6b8758',
    500: '#2f5718',
    950: '#000000',
  },
}
SCSS
$custom: #2f5718;
$custom-light: #6b8758;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5718",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 24
  },
  "hsl": {
    "h": 98.095,
    "s": 56.757,
    "l": 21.765
  },
  "oklch": {
    "l": 0.41252,
    "c": 0.10247,
    "h": 136.2
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#2F5718
secondary
#703D8E
accent
#48E0A8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5718

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

Preview Lab → · Contrast checker → · Palette generator →

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