#2F3A0D#2F3A0D

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

Color values

HEX#2F3A0D
RGBrgb(47, 58, 13)
HSLhsl(75, 63%, 14%)
HSVhsv(75, 78%, 23%)
CMYKcmyk(19%, 0%, 77.6%, 77.3%)
CIE-LABlab(22.51, -12.35, 25.34)
CIE-LCHlch(22.51, 28.20, 115.99°)
OKLaboklab(32.78% -0.0359 0.0573)
OKLCHoklch(32.78% 0.068 122.1)
XYZxyz(2.7580, 3.6595, 0.9417)
Luminance0.0366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A0D #180D3A
analogous
#3A2F0D #2F3A0D #193A0D
triadic
#2F3A0D #0D2F3A #3A0D2F
tetradic
#2F3A0D #0D3A2F #180D3A #3A0D19
square
#2F3A0D #0D3A2F #180D3A #3A0D19
split-complementary
#2F3A0D #0D193A #2F0D3A
monochromatic
#141906 #141906 #2F3A0D #586C18 #809E23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3A0D#FFFFFF#000000##FFFFFF
##2F3A0D1.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)
#3E3607
Deuteranopia (green-blind)
#3D3610
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a0d;
/* rgb */ color: rgb(47, 58, 13);
/* oklch */ color: oklch(32.8% 0.068 122.1);
Tailwind
colors: {
  custom: {
    50: '#69704e',
    500: '#2f3a0d',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a0d;
$custom-light: #69704e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a0d",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 13
  },
  "hsl": {
    "h": 74.667,
    "s": 63.38,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32778,
    "c": 0.06765,
    "h": 122.1
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#2F3A0D
secondary
#3F2D76
accent
#41E66A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3A0D

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

Preview Lab → · Contrast checker → · Palette generator →

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