#2F6710#2F6710

#2F6710 is a mid, vivid yellow-green. Relative luminance 0.103; OKLCH L 45.8% C 0.130 H 137.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2F6710
RGBrgb(47, 103, 16)
HSLhsl(99, 73%, 23%)
HSVhsv(99, 84%, 40%)
CMYKcmyk(54.4%, 0%, 84.5%, 59.6%)
CIE-LABlab(38.45, -34.33, 39.70)
CIE-LCHlch(38.45, 52.49, 130.85°)
OKLaboklab(45.8% -0.0953 0.0879)
OKLCHoklch(45.8% 0.13 137.3)
XYZxyz(6.1159, 10.3418, 2.1640)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6710 #481067
analogous
#5A6710 #2F6710 #10671D
triadic
#2F6710 #102F67 #67102F
tetradic
#2F6710 #105A67 #481067 #671D10
square
#2F6710 #105A67 #481067 #671D10
split-complementary
#2F6710 #1D1067 #67105A
monochromatic
#0C1A04 #173208 #2F6710 #479C18 #5FD120

Accessibility & contrast

On white

6.84
#2F6710 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2F6710 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6710
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6710#FFFFFF#000000##FFFFFF
##2F67101.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#63591A
Tritanopia (blue-blind)
#2B6357
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6710;
/* rgb */ color: rgb(47, 103, 16);
/* oklch */ color: oklch(45.8% 0.130 137.3);
Tailwind
colors: {
  custom: {
    50: '#6e9357',
    500: '#2f6710',
    950: '#000000',
  },
}
SCSS
$custom: #2f6710;
$custom-light: #6e9357;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6710",
  "rgb": {
    "r": 47,
    "g": 103,
    "b": 16
  },
  "hsl": {
    "h": 98.621,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.45801,
    "c": 0.12966,
    "h": 137.3
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#2F6710
secondary
#79339F
accent
#38F0AE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F6710

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

Preview Lab → · Contrast checker → · Palette generator →

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