#2F5714#2F5714

#2F5714 is a dark, moderate yellow-green. Relative luminance 0.075; OKLCH L 41.2% C 0.106 H 135.4°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2F5714
RGBrgb(47, 87, 20)
HSLhsl(96, 63%, 21%)
HSVhsv(96, 77%, 34%)
CMYKcmyk(46%, 0%, 77%, 65.9%)
CIE-LABlab(32.86, -26.98, 32.77)
CIE-LCHlch(32.86, 42.44, 129.47°)
OKLaboklab(41.21% -0.0752 0.0741)
OKLCHoklch(41.21% 0.106 135.4)
XYZxyz(4.7066, 7.4710, 1.8557)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5714 #3C1457
analogous
#505714 #2F5714 #14571A
triadic
#2F5714 #142F57 #57142F
tetradic
#2F5714 #145057 #3C1457 #571A14
square
#2F5714 #145057 #3C1457 #571A14
split-complementary
#2F5714 #1A1457 #571450
monochromatic
#0D1906 #142509 #2F5714 #4A891F #65BB2B

Accessibility & contrast

On white

8.42
#2F5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F5714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5714
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5714#FFFFFF#000000##FFFFFF
##2F57141.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F09
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#2E534A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f5714;
/* rgb */ color: rgb(47, 87, 20);
/* oklch */ color: oklch(41.2% 0.106 135.4);
Tailwind
colors: {
  custom: {
    50: '#6c8756',
    500: '#2f5714',
    950: '#000000',
  },
}
SCSS
$custom: #2f5714;
$custom-light: #6c8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5714",
  "rgb": {
    "r": 47,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 95.821,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41213,
    "c": 0.10554,
    "h": 135.4
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#2F5714
secondary
#6C388F
accent
#42E6A4
background
#F6F8F5
surface
#ECEFE9
border
#C7CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5714

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

Preview Lab → · Contrast checker → · Palette generator →

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