#2F5914#2F5914

#2F5914 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.8% C 0.108 H 135.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2F5914
RGBrgb(47, 89, 20)
HSLhsl(97, 63%, 21%)
HSVhsv(97, 78%, 35%)
CMYKcmyk(47.2%, 0%, 77.5%, 65.1%)
CIE-LABlab(33.56, -27.91, 33.48)
CIE-LCHlch(33.56, 43.59, 129.81°)
OKLaboklab(41.79% -0.0777 0.0756)
OKLCHoklch(41.79% 0.108 135.8)
XYZxyz(4.8708, 7.7993, 1.9104)
Luminance0.0780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5914 #3E1459
analogous
#525914 #2F5914 #14591C
triadic
#2F5914 #142F59 #59142F
tetradic
#2F5914 #145259 #3E1459 #591C14
square
#2F5914 #145259 #3E1459 #591C14
split-complementary
#2F5914 #1C1459 #591452
monochromatic
#0D1906 #152709 #2F5914 #498B1F #64BD2A

Accessibility & contrast

On white

8.20
#2F5914 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2F5914 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5914
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5914#FFFFFF#000000##FFFFFF
##2F59141.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5108
Deuteranopia (green-blind)
#574E1B
Tritanopia (blue-blind)
#2D554C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f5914;
/* rgb */ color: rgb(47, 89, 20);
/* oklch */ color: oklch(41.8% 0.108 135.8);
Tailwind
colors: {
  custom: {
    50: '#6c8857',
    500: '#2f5914',
    950: '#000000',
  },
}
SCSS
$custom: #2f5914;
$custom-light: #6c8857;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5914",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 20
  },
  "hsl": {
    "h": 96.522,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.41792,
    "c": 0.10838,
    "h": 135.8
  },
  "luminance": 0.078
}

Semantic roles & 50–950 ramp

primary
#2F5914
secondary
#6E3891
accent
#41E6A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2F5914

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

Preview Lab → · Contrast checker → · Palette generator →

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