#2F6613#2F6613

#2F6613 is a mid, vivid yellow-green. Relative luminance 0.102; OKLCH L 45.5% C 0.127 H 137.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#2F6613
RGBrgb(47, 102, 19)
HSLhsl(100, 69%, 24%)
HSVhsv(100, 81%, 40%)
CMYKcmyk(53.9%, 0%, 81.4%, 60%)
CIE-LABlab(38.12, -33.72, 38.36)
CIE-LCHlch(38.12, 51.08, 131.32°)
OKLaboklab(45.53% -0.0935 0.0856)
OKLCHoklch(45.53% 0.127 137.5)
XYZxyz(6.0410, 10.1537, 2.2575)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6613 #4A1366
analogous
#586613 #2F6613 #136620
triadic
#2F6613 #132F66 #66132F
tetradic
#2F6613 #135866 #4A1366 #662013
square
#2F6613 #135866 #4A1366 #662013
split-complementary
#2F6613 #201366 #661358
monochromatic
#0C1A05 #173209 #2F6613 #479A1D #5FCD26

Accessibility & contrast

On white

6.93
#2F6613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#2F6613 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6613
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6613#FFFFFF#000000##FFFFFF
##2F66131.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D01
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#2B6256
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f6613;
/* rgb */ color: rgb(47, 102, 19);
/* oklch */ color: oklch(45.5% 0.127 137.5);
Tailwind
colors: {
  custom: {
    50: '#6e9258',
    500: '#2f6613',
    950: '#000000',
  },
}
SCSS
$custom: #2f6613;
$custom-light: #6e9258;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6613",
  "rgb": {
    "r": 47,
    "g": 102,
    "b": 19
  },
  "hsl": {
    "h": 99.759,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.45533,
    "c": 0.12674,
    "h": 137.5
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#2F6613
secondary
#7B379D
accent
#3CEBB0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6613

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

Preview Lab → · Contrast checker → · Palette generator →

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