#2F6314#2F6314

#2F6314 is a dark, vivid yellow-green. Relative luminance 0.096; OKLCH L 44.7% C 0.122 H 137.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2F6314
RGBrgb(47, 99, 20)
HSLhsl(99, 66%, 23%)
HSVhsv(99, 80%, 39%)
CMYKcmyk(52.5%, 0%, 79.8%, 61.2%)
CIE-LABlab(37.07, -32.37, 36.98)
CIE-LCHlch(37.07, 49.14, 131.20°)
OKLaboklab(44.68% -0.0898 0.0829)
OKLCHoklch(44.68% 0.122 137.3)
XYZxyz(5.7602, 9.5781, 2.2069)
Luminance0.0958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6314 #481463
analogous
#566314 #2F6314 #146320
triadic
#2F6314 #142F63 #63142F
tetradic
#2F6314 #145663 #481463 #632014
square
#2F6314 #145663 #481463 #632014
split-complementary
#2F6314 #201463 #631456
monochromatic
#0C1905 #17300A #2F6314 #47961E #5FC929

Accessibility & contrast

On white

7.20
#2F6314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2F6314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F6314
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6314#FFFFFF#000000##FFFFFF
##2F63141.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A04
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#2C5F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2f6314;
/* rgb */ color: rgb(47, 99, 20);
/* oklch */ color: oklch(44.7% 0.122 137.3);
Tailwind
colors: {
  custom: {
    50: '#6d9058',
    500: '#2f6314',
    950: '#000000',
  },
}
SCSS
$custom: #2f6314;
$custom-light: #6d9058;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6314",
  "rgb": {
    "r": 47,
    "g": 99,
    "b": 20
  },
  "hsl": {
    "h": 99.494,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.44677,
    "c": 0.12216,
    "h": 137.3
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#2F6314
secondary
#79389A
accent
#3EE9AF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2F6314

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

Preview Lab → · Contrast checker → · Palette generator →

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