#2F5618#2F5618

#2F5618 is a dark, moderate yellow-green. Relative luminance 0.073; OKLCH L 41.0% C 0.101 H 136.0°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#2F5618
RGBrgb(47, 86, 24)
HSLhsl(98, 56%, 22%)
HSVhsv(98, 72%, 34%)
CMYKcmyk(45.3%, 0%, 72.1%, 66.3%)
CIE-LABlab(32.54, -26.15, 30.63)
CIE-LCHlch(32.54, 40.27, 130.48°)
OKLaboklab(40.96% -0.0726 0.0702)
OKLCHoklch(40.96% 0.101 136)
XYZxyz(4.6648, 7.3256, 2.0322)
Luminance0.0733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5618 #3F1856
analogous
#4E5618 #2F5618 #185620
triadic
#2F5618 #182F56 #56182F
tetradic
#2F5618 #184E56 #3F1856 #562018
square
#2F5618 #184E56 #3F1856 #562018
split-complementary
#2F5618 #201856 #56184E
monochromatic
#0D1807 #15260B #2F5618 #498625 #63B633

Accessibility & contrast

On white

8.52
#2F5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F5618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5618
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5618#FFFFFF#000000##FFFFFF
##2F56181.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F10
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#2E5349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5618;
/* rgb */ color: rgb(47, 86, 24);
/* oklch */ color: oklch(41.0% 0.101 136.0);
Tailwind
colors: {
  custom: {
    50: '#6b8658',
    500: '#2f5618',
    950: '#000000',
  },
}
SCSS
$custom: #2f5618;
$custom-light: #6b8658;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5618",
  "rgb": {
    "r": 47,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 97.742,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.10099,
    "h": 136
  },
  "luminance": 0.07326
}

Semantic roles & 50–950 ramp

primary
#2F5618
secondary
#6F3D8D
accent
#48E0A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5618

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

Preview Lab → · Contrast checker → · Palette generator →

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