#2F3A0F#2F3A0F

#2F3A0F is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.066 H 122.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#2F3A0F
RGBrgb(47, 58, 15)
HSLhsl(75, 59%, 14%)
HSVhsv(75, 74%, 23%)
CMYKcmyk(19%, 0%, 74.1%, 77.3%)
CIE-LABlab(22.53, -12.18, 24.37)
CIE-LCHlch(22.53, 27.24, 116.57°)
OKLaboklab(32.8% -0.0352 0.0556)
OKLCHoklch(32.8% 0.066 122.3)
XYZxyz(2.7716, 3.6649, 1.0132)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A0F #1A0F3A
analogous
#3A300F #2F3A0F #1A3A0F
triadic
#2F3A0F #0F2F3A #3A0F2F
tetradic
#2F3A0F #0F3A30 #1A0F3A #3A0F1A
square
#2F3A0F #0F3A30 #1A0F3A #3A0F1A
split-complementary
#2F3A0F #0F1A3A #300F3A
monochromatic
#141806 #141806 #2F3A0F #566B1C #7E9B28

Accessibility & contrast

On white

12.12
#2F3A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F3A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3A0F
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A0F#FFFFFF#000000##FFFFFF
##2F3A0F1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3609
Deuteranopia (green-blind)
#3C3612
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a0f;
/* rgb */ color: rgb(47, 58, 15);
/* oklch */ color: oklch(32.8% 0.066 122.3);
Tailwind
colors: {
  custom: {
    50: '#697050',
    500: '#2f3a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a0f;
$custom-light: #697050;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a0f",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 15
  },
  "hsl": {
    "h": 75.349,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32799,
    "c": 0.06582,
    "h": 122.3
  },
  "luminance": 0.03665
}

Semantic roles & 50–950 ramp

primary
#2F3A0F
secondary
#423074
accent
#46E26E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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