#2F6413#2F6413

#2F6413 is a dark, vivid yellow-green. Relative luminance 0.098; OKLCH L 45.0% C 0.124 H 137.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2F6413
RGBrgb(47, 100, 19)
HSLhsl(99, 68%, 23%)
HSVhsv(99, 81%, 39%)
CMYKcmyk(53%, 0%, 81%, 60.8%)
CIE-LABlab(37.42, -32.87, 37.69)
CIE-LCHlch(37.42, 50.01, 131.10°)
OKLaboklab(44.96% -0.0912 0.0842)
OKLCHoklch(44.96% 0.124 137.3)
XYZxyz(5.8468, 9.7653, 2.1928)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6413 #481364
analogous
#576413 #2F6413 #13641F
triadic
#2F6413 #132F64 #64132F
tetradic
#2F6413 #135764 #481364 #641F13
square
#2F6413 #135764 #481364 #641F13
split-complementary
#2F6413 #1F1364 #641357
monochromatic
#0C1A05 #173109 #2F6413 #47971D #5FCB27

Accessibility & contrast

On white

7.11
#2F6413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2F6413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6413
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6413#FFFFFF#000000##FFFFFF
##2F64131.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B02
Deuteranopia (green-blind)
#61561C
Tritanopia (blue-blind)
#2C6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f6413;
/* rgb */ color: rgb(47, 100, 19);
/* oklch */ color: oklch(45.0% 0.124 137.3);
Tailwind
colors: {
  custom: {
    50: '#6e9158',
    500: '#2f6413',
    950: '#000000',
  },
}
SCSS
$custom: #2f6413;
$custom-light: #6e9158;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6413",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 19
  },
  "hsl": {
    "h": 99.259,
    "s": 68.067,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44958,
    "c": 0.1241,
    "h": 137.3
  },
  "luminance": 0.09766
}

Semantic roles & 50–950 ramp

primary
#2F6413
secondary
#79379C
accent
#3DEBAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080D03
muted
#7B7D78

Preview Lab

Preview with #2F6413

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

Preview Lab → · Contrast checker → · Palette generator →

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