#2F4A1A#2F4A1A

#2F4A1A is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.5% C 0.081 H 133.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#2F4A1A
RGBrgb(47, 74, 26)
HSLhsl(94, 48%, 20%)
HSVhsv(94, 65%, 29%)
CMYKcmyk(36.5%, 0%, 64.9%, 71%)
CIE-LABlab(28.32, -19.94, 24.97)
CIE-LCHlch(28.32, 31.95, 128.61°)
OKLaboklab(37.53% -0.0555 0.0584)
OKLCHoklch(37.53% 0.081 133.5)
XYZxyz(3.8075, 5.5763, 1.8528)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4A1A #351A4A
analogous
#474A1A #2F4A1A #1A4A1D
triadic
#2F4A1A #1A2F4A #4A1A2F
tetradic
#2F4A1A #1A474A #351A4A #4A1D1A
square
#2F4A1A #1A474A #351A4A #4A1D1A
split-complementary
#2F4A1A #1D1A4A #4A1A47
monochromatic
#0E1708 #121D0A #2F4A1A #4C772A #69A53A

Accessibility & contrast

On white

9.93
#2F4A1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2F4A1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4A1A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4A1A#FFFFFF#000000##FFFFFF
##2F4A1A1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4415
Deuteranopia (green-blind)
#49421D
Tritanopia (blue-blind)
#2F4740
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f4a1a;
/* rgb */ color: rgb(47, 74, 26);
/* oklch */ color: oklch(37.5% 0.081 133.5);
Tailwind
colors: {
  custom: {
    50: '#6a7c58',
    500: '#2f4a1a',
    950: '#000000',
  },
}
SCSS
$custom: #2f4a1a;
$custom-light: #6a7c58;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4a1a",
  "rgb": {
    "r": 47,
    "g": 74,
    "b": 26
  },
  "hsl": {
    "h": 93.75,
    "s": 48,
    "l": 19.608
  },
  "oklch": {
    "l": 0.37526,
    "c": 0.08057,
    "h": 133.5
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#2F4A1A
secondary
#644080
accent
#50D89C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F4A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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