#2F4B1A#2F4B1A

#2F4B1A is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.082 H 133.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2F4B1A
RGBrgb(47, 75, 26)
HSLhsl(94, 49%, 20%)
HSVhsv(94, 65%, 29%)
CMYKcmyk(37.3%, 0%, 65.3%, 70.6%)
CIE-LABlab(28.67, -20.47, 25.37)
CIE-LCHlch(28.67, 32.60, 128.89°)
OKLaboklab(37.81% -0.0569 0.0593)
OKLCHoklch(37.81% 0.082 133.8)
XYZxyz(3.8747, 5.7109, 1.8752)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4B1A #361A4B
analogous
#484B1A #2F4B1A #1A4B1E
triadic
#2F4B1A #1A2F4B #4B1A2F
tetradic
#2F4B1A #1A484B #361A4B #4B1E1A
square
#2F4B1A #1A484B #361A4B #4B1E1A
split-complementary
#2F4B1A #1E1A4B #4B1A48
monochromatic
#0E1708 #131E0A #2F4B1A #4B782A #68A63A

Accessibility & contrast

On white

9.80
#2F4B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2F4B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4B1A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4B1A#FFFFFF#000000##FFFFFF
##2F4B1A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4515
Deuteranopia (green-blind)
#4A431E
Tritanopia (blue-blind)
#2F4840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4b1a;
/* rgb */ color: rgb(47, 75, 26);
/* oklch */ color: oklch(37.8% 0.082 133.8);
Tailwind
colors: {
  custom: {
    50: '#6a7d58',
    500: '#2f4b1a',
    950: '#000000',
  },
}
SCSS
$custom: #2f4b1a;
$custom-light: #6a7d58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4b1a",
  "rgb": {
    "r": 47,
    "g": 75,
    "b": 26
  },
  "hsl": {
    "h": 94.286,
    "s": 48.515,
    "l": 19.804
  },
  "oklch": {
    "l": 0.37813,
    "c": 0.08218,
    "h": 133.8
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#2F4B1A
secondary
#654081
accent
#50D89E
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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