#2F5C14#2F5C14

#2F5C14 is a dark, moderate yellow-green. Relative luminance 0.083; OKLCH L 42.7% C 0.113 H 136.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2F5C14
RGBrgb(47, 92, 20)
HSLhsl(98, 64%, 22%)
HSVhsv(98, 78%, 36%)
CMYKcmyk(48.9%, 0%, 78.3%, 63.9%)
CIE-LABlab(34.62, -29.28, 34.54)
CIE-LCHlch(34.62, 45.28, 130.28°)
OKLaboklab(42.66% -0.0814 0.0778)
OKLCHoklch(42.66% 0.113 136.3)
XYZxyz(5.1256, 8.3088, 1.9954)
Luminance0.0831 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5C14 #41145C
analogous
#535C14 #2F5C14 #145C1D
triadic
#2F5C14 #142F5C #5C142F
tetradic
#2F5C14 #14535C #41145C #5C1D14
square
#2F5C14 #14535C #41145C #5C1D14
split-complementary
#2F5C14 #1D145C #5C1453
monochromatic
#0D1905 #152A09 #2F5C14 #498E1F #62C12A

Accessibility & contrast

On white

7.89
#2F5C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F5C14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5C14
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5C14#FFFFFF#000000##FFFFFF
##2F5C141.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5407
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#2D584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f5c14;
/* rgb */ color: rgb(47, 92, 20);
/* oklch */ color: oklch(42.7% 0.113 136.3);
Tailwind
colors: {
  custom: {
    50: '#6c8a57',
    500: '#2f5c14',
    950: '#000000',
  },
}
SCSS
$custom: #2f5c14;
$custom-light: #6c8a57;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5c14",
  "rgb": {
    "r": 47,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 97.5,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42659,
    "c": 0.1126,
    "h": 136.3
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#2F5C14
secondary
#713894
accent
#41E7A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5C14

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

Preview Lab → · Contrast checker → · Palette generator →

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