#2F5E16#2F5E16

#2F5E16 is a dark, moderate yellow-green. Relative luminance 0.087; OKLCH L 43.3% C 0.114 H 136.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#2F5E16
RGBrgb(47, 94, 22)
HSLhsl(99, 62%, 23%)
HSVhsv(99, 77%, 37%)
CMYKcmyk(50%, 0%, 76.6%, 63.1%)
CIE-LABlab(35.34, -30.02, 34.44)
CIE-LCHlch(35.34, 45.68, 131.07°)
OKLaboklab(43.25% -0.0833 0.0779)
OKLCHoklch(43.25% 0.114 136.9)
XYZxyz(5.3197, 8.6673, 2.1516)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5E16 #45165E
analogous
#535E16 #2F5E16 #165E21
triadic
#2F5E16 #162F5E #5E162F
tetradic
#2F5E16 #16535E #45165E #5E2116
square
#2F5E16 #16535E #45165E #5E2116
split-complementary
#2F5E16 #21165E #5E1653
monochromatic
#0C1906 #162C0A #2F5E16 #489022 #61C12D

Accessibility & contrast

On white

7.68
#2F5E16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2F5E16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5E16
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5E16#FFFFFF#000000##FFFFFF
##2F5E161.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560A
Deuteranopia (green-blind)
#5B521D
Tritanopia (blue-blind)
#2C5A50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2f5e16;
/* rgb */ color: rgb(47, 94, 22);
/* oklch */ color: oklch(43.3% 0.114 136.9);
Tailwind
colors: {
  custom: {
    50: '#6d8c58',
    500: '#2f5e16',
    950: '#000000',
  },
}
SCSS
$custom: #2f5e16;
$custom-light: #6d8c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5e16",
  "rgb": {
    "r": 47,
    "g": 94,
    "b": 22
  },
  "hsl": {
    "h": 99.167,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43253,
    "c": 0.114,
    "h": 136.9
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#2F5E16
secondary
#763B95
accent
#43E5AD
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F5E16

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

Preview Lab → · Contrast checker → · Palette generator →

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