#2F680F#2F680F

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

Color values

HEX#2F680F
RGBrgb(47, 104, 15)
HSLhsl(98, 75%, 23%)
HSVhsv(98, 86%, 41%)
CMYKcmyk(54.8%, 0%, 85.6%, 59.2%)
CIE-LABlab(38.79, -34.81, 40.34)
CIE-LCHlch(38.79, 53.28, 130.79°)
OKLaboklab(46.08% -0.0966 0.0891)
OKLCHoklch(46.08% 0.131 137.3)
XYZxyz(6.2086, 10.5390, 2.1589)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F680F #480F68
analogous
#5B680F #2F680F #0F681B
triadic
#2F680F #0F2F68 #680F2F
tetradic
#2F680F #0F5B68 #480F68 #681B0F
square
#2F680F #0F5B68 #480F68 #681B0F
split-complementary
#2F680F #1B0F68 #680F5B
monochromatic
#0C1B04 #173307 #2F680F #479D17 #5FD31E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F680F#FFFFFF#000000##FFFFFF
##2F680F1.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: #2f680f;
/* rgb */ color: rgb(47, 104, 15);
/* oklch */ color: oklch(46.1% 0.131 137.3);
Tailwind
colors: {
  custom: {
    50: '#6f9457',
    500: '#2f680f',
    950: '#000000',
  },
}
SCSS
$custom: #2f680f;
$custom-light: #6f9457;
$custom-dark: #000000;
JSON
{
  "hex": "#2f680f",
  "rgb": {
    "r": 47,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 98.427,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.46083,
    "c": 0.13143,
    "h": 137.3
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#2F680F
secondary
#7932A1
accent
#36F1AE
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D03
muted
#7B7E78

Preview Lab

Preview with #2F680F

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

Preview Lab → · Contrast checker → · Palette generator →

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