#2F6414#2F6414

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

Color values

HEX#2F6414
RGBrgb(47, 100, 20)
HSLhsl(100, 67%, 24%)
HSVhsv(100, 80%, 39%)
CMYKcmyk(53%, 0%, 80%, 60.8%)
CIE-LABlab(37.42, -32.80, 37.32)
CIE-LCHlch(37.42, 49.69, 131.31°)
OKLaboklab(44.97% -0.0909 0.0836)
OKLCHoklch(44.97% 0.124 137.4)
XYZxyz(5.8555, 9.7688, 2.2387)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6414 #491464
analogous
#576414 #2F6414 #146421
triadic
#2F6414 #142F64 #64142F
tetradic
#2F6414 #145764 #491464 #642114
square
#2F6414 #145764 #491464 #642114
split-complementary
#2F6414 #211464 #641457
monochromatic
#0C1A05 #17310A #2F6414 #47971E #5FCA28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F6414#FFFFFF#000000##FFFFFF
##2F64141.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)
#685B04
Deuteranopia (green-blind)
#61561C
Tritanopia (blue-blind)
#2B6055
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f6414;
/* rgb */ color: rgb(47, 100, 20);
/* oklch */ color: oklch(45.0% 0.123 137.4);
Tailwind
colors: {
  custom: {
    50: '#6e9158',
    500: '#2f6414',
    950: '#000000',
  },
}
SCSS
$custom: #2f6414;
$custom-light: #6e9158;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6414",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 20
  },
  "hsl": {
    "h": 99.75,
    "s": 66.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.44965,
    "c": 0.1235,
    "h": 137.4
  },
  "luminance": 0.09769
}

Semantic roles & 50–950 ramp

primary
#2F6414
secondary
#7A389B
accent
#3EEAB0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C04
muted
#7B7D79

Preview Lab

Preview with #2F6414

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

Preview Lab → · Contrast checker → · Palette generator →

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