#2F4919#2F4919

#2F4919 is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.2% C 0.080 H 132.9°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2F4919
RGBrgb(47, 73, 25)
HSLhsl(93, 49%, 19%)
HSVhsv(93, 66%, 29%)
CMYKcmyk(35.6%, 0%, 65.8%, 71.4%)
CIE-LABlab(27.95, -19.53, 25.09)
CIE-LCHlch(27.95, 31.79, 127.90°)
OKLaboklab(37.22% -0.0544 0.0586)
OKLCHoklch(37.22% 0.08 132.9)
XYZxyz(3.7302, 5.4395, 1.7729)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4919 #331949
analogous
#474919 #2F4919 #19491B
triadic
#2F4919 #192F49 #49192F
tetradic
#2F4919 #194749 #331949 #491B19
square
#2F4919 #194749 #331949 #491B19
split-complementary
#2F4919 #1B1949 #491947
monochromatic
#0F1708 #121B09 #2F4919 #4C7729 #6AA438

Accessibility & contrast

On white

10.06
#2F4919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2F4919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4919
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4919#FFFFFF#000000##FFFFFF
##2F49191.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4314
Deuteranopia (green-blind)
#48411C
Tritanopia (blue-blind)
#2F463F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2f4919;
/* rgb */ color: rgb(47, 73, 25);
/* oklch */ color: oklch(37.2% 0.080 132.9);
Tailwind
colors: {
  custom: {
    50: '#697c58',
    500: '#2f4919',
    950: '#000000',
  },
}
SCSS
$custom: #2f4919;
$custom-light: #697c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4919",
  "rgb": {
    "r": 47,
    "g": 73,
    "b": 25
  },
  "hsl": {
    "h": 92.5,
    "s": 48.98,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37224,
    "c": 0.07996,
    "h": 132.9
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#2F4919
secondary
#623E7F
accent
#4FD99A
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4919

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

Preview Lab → · Contrast checker → · Palette generator →

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