#2F3A0E#2F3A0E

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

Color values

HEX#2F3A0E
RGBrgb(47, 58, 14)
HSLhsl(75, 61%, 14%)
HSVhsv(75, 76%, 23%)
CMYKcmyk(19%, 0%, 75.9%, 77.3%)
CIE-LABlab(22.52, -12.27, 24.86)
CIE-LCHlch(22.52, 27.73, 116.27°)
OKLaboklab(32.79% -0.0356 0.0565)
OKLCHoklch(32.79% 0.067 122.2)
XYZxyz(2.7646, 3.6621, 0.9766)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A0E #190E3A
analogous
#3A2F0E #2F3A0E #193A0E
triadic
#2F3A0E #0E2F3A #3A0E2F
tetradic
#2F3A0E #0E3A2F #190E3A #3A0E19
square
#2F3A0E #0E3A2F #190E3A #3A0E19
split-complementary
#2F3A0E #0E193A #2F0E3A
monochromatic
#141906 #141906 #2F3A0E #576B1A #7F9D26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3A0E#FFFFFF#000000##FFFFFF
##2F3A0E1.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)
#3E3608
Deuteranopia (green-blind)
#3C3611
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a0e;
/* rgb */ color: rgb(47, 58, 14);
/* oklch */ color: oklch(32.8% 0.067 122.2);
Tailwind
colors: {
  custom: {
    50: '#69704f',
    500: '#2f3a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a0e;
$custom-light: #69704f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a0e",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 14
  },
  "hsl": {
    "h": 75,
    "s": 61.111,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32788,
    "c": 0.06675,
    "h": 122.2
  },
  "luminance": 0.03662
}

Semantic roles & 50–950 ramp

primary
#2F3A0E
secondary
#402F75
accent
#44E46C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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