#2F4C19#2F4C19

#2F4C19 is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.1% C 0.085 H 133.9°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#2F4C19
RGBrgb(47, 76, 25)
HSLhsl(94, 50%, 20%)
HSVhsv(94, 67%, 30%)
CMYKcmyk(38.2%, 0%, 67.1%, 70.2%)
CIE-LABlab(29.01, -21.10, 26.28)
CIE-LCHlch(29.01, 33.70, 128.75°)
OKLaboklab(38.09% -0.0587 0.0611)
OKLCHoklch(38.09% 0.085 133.9)
XYZxyz(3.9321, 5.8432, 1.8402)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4C19 #36194C
analogous
#484C19 #2F4C19 #194C1D
triadic
#2F4C19 #192F4C #4C192F
tetradic
#2F4C19 #19484C #36194C #4C1D19
square
#2F4C19 #19484C #36194C #4C1D19
split-complementary
#2F4C19 #1D194C #4C1948
monochromatic
#0E1708 #131E0A #2F4C19 #4B7A28 #68A837

Accessibility & contrast

On white

9.68
#2F4C19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F4C19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4C19
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4C19#FFFFFF#000000##FFFFFF
##2F4C191.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4613
Deuteranopia (green-blind)
#4B441D
Tritanopia (blue-blind)
#2F4941
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4c19;
/* rgb */ color: rgb(47, 76, 25);
/* oklch */ color: oklch(38.1% 0.085 133.9);
Tailwind
colors: {
  custom: {
    50: '#6a7e58',
    500: '#2f4c19',
    950: '#000000',
  },
}
SCSS
$custom: #2f4c19;
$custom-light: #6a7e58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4c19",
  "rgb": {
    "r": 47,
    "g": 76,
    "b": 25
  },
  "hsl": {
    "h": 94.118,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38089,
    "c": 0.08477,
    "h": 133.9
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#2F4C19
secondary
#653E82
accent
#4EDA9E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2F4C19

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

Preview Lab → · Contrast checker → · Palette generator →

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