#2F6910#2F6910

#2F6910 is a mid, vivid yellow-green. Relative luminance 0.107; OKLCH L 46.4% C 0.132 H 137.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2F6910
RGBrgb(47, 105, 16)
HSLhsl(99, 74%, 24%)
HSVhsv(99, 85%, 41%)
CMYKcmyk(55.2%, 0%, 84.8%, 58.8%)
CIE-LABlab(39.15, -35.17, 40.35)
CIE-LCHlch(39.15, 53.52, 131.07°)
OKLaboklab(46.38% -0.0975 0.0893)
OKLCHoklch(46.38% 0.132 137.5)
XYZxyz(6.3172, 10.7444, 2.2311)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6910 #4A1069
analogous
#5B6910 #2F6910 #10691D
triadic
#2F6910 #102F69 #69102F
tetradic
#2F6910 #105B69 #4A1069 #691D10
square
#2F6910 #105B69 #4A1069 #691D10
split-complementary
#2F6910 #1D1069 #69105B
monochromatic
#0C1B04 #173408 #2F6910 #479E18 #5FD320

Accessibility & contrast

On white

6.67
#2F6910 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F6910 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6910
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6910#FFFFFF#000000##FFFFFF
##2F69101.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#2B6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f6910;
/* rgb */ color: rgb(47, 105, 16);
/* oklch */ color: oklch(46.4% 0.132 137.5);
Tailwind
colors: {
  custom: {
    50: '#6f9457',
    500: '#2f6910',
    950: '#000000',
  },
}
SCSS
$custom: #2f6910;
$custom-light: #6f9457;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6910",
  "rgb": {
    "r": 47,
    "g": 105,
    "b": 16
  },
  "hsl": {
    "h": 99.101,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.46376,
    "c": 0.13222,
    "h": 137.5
  },
  "luminance": 0.10745
}

Semantic roles & 50–950 ramp

primary
#2F6910
secondary
#7B34A1
accent
#38F0B0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F6910

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

Preview Lab → · Contrast checker → · Palette generator →

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