#2F6C10#2F6C10

#2F6C10 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.2% C 0.136 H 137.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#2F6C10
RGBrgb(47, 108, 16)
HSLhsl(100, 74%, 24%)
HSVhsv(100, 85%, 42%)
CMYKcmyk(56.5%, 0%, 85.2%, 57.6%)
CIE-LABlab(40.19, -36.40, 41.32)
CIE-LCHlch(40.19, 55.06, 131.38°)
OKLaboklab(47.24% -0.1008 0.0913)
OKLCHoklch(47.24% 0.136 137.8)
XYZxyz(6.6281, 11.3663, 2.3348)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6C10 #4D106C
analogous
#5D6C10 #2F6C10 #106C1F
triadic
#2F6C10 #102F6C #6C102F
tetradic
#2F6C10 #105D6C #4D106C #6C1F10
square
#2F6C10 #105D6C #4D106C #6C1F10
split-complementary
#2F6C10 #1F106C #6C105D
monochromatic
#0C1B04 #183708 #2F6C10 #46A118 #5DD720

Accessibility & contrast

On white

6.42
#2F6C10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2F6C10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6C10
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6C10#FFFFFF#000000##FFFFFF
##2F6C101.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1B
Tritanopia (blue-blind)
#2A685B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f6c10;
/* rgb */ color: rgb(47, 108, 16);
/* oklch */ color: oklch(47.2% 0.136 137.8);
Tailwind
colors: {
  custom: {
    50: '#6f9758',
    500: '#2f6c10',
    950: '#000000',
  },
}
SCSS
$custom: #2f6c10;
$custom-light: #6f9758;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6c10",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 16
  },
  "hsl": {
    "h": 99.783,
    "s": 74.194,
    "l": 24.314
  },
  "oklch": {
    "l": 0.47237,
    "c": 0.13602,
    "h": 137.8
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#2F6C10
secondary
#7E34A4
accent
#37F1B2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6C10

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

Preview Lab → · Contrast checker → · Palette generator →

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