#2F640E#2F640E

#2F640E is a dark, vivid yellow-green. Relative luminance 0.098; OKLCH L 44.9% C 0.127 H 136.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2F640E
RGBrgb(47, 100, 14)
HSLhsl(97, 75%, 22%)
HSVhsv(97, 86%, 39%)
CMYKcmyk(53%, 0%, 86%, 60.8%)
CIE-LABlab(37.39, -33.18, 39.36)
CIE-LCHlch(37.39, 51.48, 130.13°)
OKLaboklab(44.93% -0.0923 0.0869)
OKLCHoklch(44.93% 0.127 136.7)
XYZxyz(5.8086, 9.7500, 1.9912)
Luminance0.0975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F640E #430E64
analogous
#5A640E #2F640E #0E6418
triadic
#2F640E #0E2F64 #640E2F
tetradic
#2F640E #0E5A64 #430E64 #64180E
square
#2F640E #0E5A64 #430E64 #64180E
split-complementary
#2F640E #180E64 #640E5A
monochromatic
#0D1B04 #162E06 #2F640E #489A16 #61CF1D

Accessibility & contrast

On white

7.12
#2F640E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F640E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F640E#FFFFFF#000000##FFFFFF
##2F640E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B00
Deuteranopia (green-blind)
#615618
Tritanopia (blue-blind)
#2C6054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2f640e;
/* rgb */ color: rgb(47, 100, 14);
/* oklch */ color: oklch(44.9% 0.127 136.7);
Tailwind
colors: {
  custom: {
    50: '#6e9155',
    500: '#2f640e',
    950: '#000000',
  },
}
SCSS
$custom: #2f640e;
$custom-light: #6e9155;
$custom-dark: #000000;
JSON
{
  "hex": "#2f640e",
  "rgb": {
    "r": 47,
    "g": 100,
    "b": 14
  },
  "hsl": {
    "h": 96.977,
    "s": 75.439,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44926,
    "c": 0.12678,
    "h": 136.7
  },
  "luminance": 0.0975
}

Semantic roles & 50–950 ramp

primary
#2F640E
secondary
#74319D
accent
#36F2AA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#080C03
muted
#7B7D78

Preview Lab

Preview with #2F640E

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

Preview Lab → · Contrast checker → · Palette generator →

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