#2F4713#2F4713

#2F4713 is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.6% C 0.082 H 130.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2F4713
RGBrgb(47, 71, 19)
HSLhsl(88, 58%, 18%)
HSVhsv(88, 73%, 28%)
CMYKcmyk(33.8%, 0%, 73.2%, 72.2%)
CIE-LABlab(27.18, -19.09, 27.32)
CIE-LCHlch(27.18, 33.33, 124.95°)
OKLaboklab(36.58% -0.0538 0.0625)
OKLCHoklch(36.58% 0.082 130.7)
XYZxyz(3.5430, 5.1577, 1.4248)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4713 #2B1347
analogous
#474513 #2F4713 #154713
triadic
#2F4713 #132F47 #47132F
tetradic
#2F4713 #134745 #2B1347 #471315
square
#2F4713 #134745 #2B1347 #471315
split-complementary
#2F4713 #131547 #451347
monochromatic
#101806 #101806 #2F4713 #4F7720 #6FA82D

Accessibility & contrast

On white

10.34
#2F4713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F4713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4713
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4713#FFFFFF#000000##FFFFFF
##2F47131.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410C
Deuteranopia (green-blind)
#474017
Tritanopia (blue-blind)
#30443C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f4713;
/* rgb */ color: rgb(47, 71, 19);
/* oklch */ color: oklch(36.6% 0.082 130.7);
Tailwind
colors: {
  custom: {
    50: '#6a7a54',
    500: '#2f4713',
    950: '#000000',
  },
}
SCSS
$custom: #2f4713;
$custom-light: #6a7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4713",
  "rgb": {
    "r": 47,
    "g": 71,
    "b": 19
  },
  "hsl": {
    "h": 87.692,
    "s": 57.778,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36576,
    "c": 0.08246,
    "h": 130.7
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#2F4713
secondary
#583680
accent
#47E18E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4713

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

Preview Lab → · Contrast checker → · Palette generator →

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