#2F6A10#2F6A10

#2F6A10 is a mid, vivid yellow-green. Relative luminance 0.110; OKLCH L 46.7% C 0.134 H 137.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2F6A10
RGBrgb(47, 106, 16)
HSLhsl(99, 74%, 24%)
HSVhsv(99, 85%, 42%)
CMYKcmyk(55.7%, 0%, 84.9%, 58.4%)
CIE-LABlab(39.49, -35.58, 40.67)
CIE-LCHlch(39.49, 54.04, 131.18°)
OKLaboklab(46.66% -0.0986 0.09)
OKLCHoklch(46.66% 0.134 137.6)
XYZxyz(6.4196, 10.9493, 2.2653)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6A10 #4B106A
analogous
#5C6A10 #2F6A10 #106A1E
triadic
#2F6A10 #102F6A #6A102F
tetradic
#2F6A10 #105C6A #4B106A #6A1E10
square
#2F6A10 #105C6A #4B106A #6A1E10
split-complementary
#2F6A10 #1E106A #6A105C
monochromatic
#0C1B04 #173508 #2F6A10 #479F18 #5ED420

Accessibility & contrast

On white

6.58
#2F6A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2F6A10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6A10
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6A10#FFFFFF#000000##FFFFFF
##2F6A101.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#665B1B
Tritanopia (blue-blind)
#2B665A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2f6a10;
/* rgb */ color: rgb(47, 106, 16);
/* oklch */ color: oklch(46.7% 0.134 137.6);
Tailwind
colors: {
  custom: {
    50: '#6f9557',
    500: '#2f6a10',
    950: '#000000',
  },
}
SCSS
$custom: #2f6a10;
$custom-light: #6f9557;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6a10",
  "rgb": {
    "r": 47,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 99.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.46663,
    "c": 0.1335,
    "h": 137.6
  },
  "luminance": 0.1095
}

Semantic roles & 50–950 ramp

primary
#2F6A10
secondary
#7C34A2
accent
#37F0B1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F6A10

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

Preview Lab → · Contrast checker → · Palette generator →

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