#2F6810#2F6810

#2F6810 is a mid, vivid yellow-green. Relative luminance 0.105; OKLCH L 46.1% C 0.131 H 137.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2F6810
RGBrgb(47, 104, 16)
HSLhsl(99, 73%, 24%)
HSVhsv(99, 85%, 41%)
CMYKcmyk(54.8%, 0%, 84.6%, 59.2%)
CIE-LABlab(38.80, -34.75, 40.03)
CIE-LCHlch(38.80, 53.01, 130.96°)
OKLaboklab(46.09% -0.0964 0.0886)
OKLCHoklch(46.09% 0.131 137.4)
XYZxyz(6.2159, 10.5419, 2.1974)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6810 #491068
analogous
#5B6810 #2F6810 #10681D
triadic
#2F6810 #102F68 #68102F
tetradic
#2F6810 #105B68 #491068 #681D10
square
#2F6810 #105B68 #491068 #681D10
split-complementary
#2F6810 #1D1068 #68105B
monochromatic
#0C1B04 #173308 #2F6810 #479D18 #5FD220

Accessibility & contrast

On white

6.76
#2F6810 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2F6810 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6810
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6810#FFFFFF#000000##FFFFFF
##2F68101.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E00
Deuteranopia (green-blind)
#645A1A
Tritanopia (blue-blind)
#2B6458
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f6810;
/* rgb */ color: rgb(47, 104, 16);
/* oklch */ color: oklch(46.1% 0.131 137.4);
Tailwind
colors: {
  custom: {
    50: '#6f9457',
    500: '#2f6810',
    950: '#000000',
  },
}
SCSS
$custom: #2f6810;
$custom-light: #6f9457;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6810",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 16
  },
  "hsl": {
    "h": 98.864,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.13095,
    "h": 137.4
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

primary
#2F6810
secondary
#7A34A0
accent
#38F0AF
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F6810

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

Preview Lab → · Contrast checker → · Palette generator →

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