#2F3807#2F3807

#2F3807 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.2% C 0.070 H 119.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2F3807
RGBrgb(47, 56, 7)
HSLhsl(71, 78%, 12%)
HSVhsv(71, 88%, 22%)
CMYKcmyk(16.1%, 0%, 87.5%, 78%)
CIE-LABlab(21.76, -11.61, 27.09)
CIE-LCHlch(21.76, 29.47, 113.19°)
OKLaboklab(32.15% -0.0345 0.0604)
OKLCHoklch(32.15% 0.07 119.7)
XYZxyz(2.6249, 3.4480, 0.7282)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3807 #100738
analogous
#382807 #2F3807 #173807
triadic
#2F3807 #072F38 #38072F
tetradic
#2F3807 #073828 #100738 #380717
square
#2F3807 #073828 #100738 #380717
split-complementary
#2F3807 #071738 #280738
monochromatic
#171B03 #171B03 #2F3807 #5D6E0E #8AA515

Accessibility & contrast

On white

12.43
#2F3807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2F3807 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3807
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3807#FFFFFF#000000##FFFFFF
##2F38071.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3401
Deuteranopia (green-blind)
#3B340B
Tritanopia (blue-blind)
#32342F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2f3807;
/* rgb */ color: rgb(47, 56, 7);
/* oklch */ color: oklch(32.2% 0.070 119.7);
Tailwind
colors: {
  custom: {
    50: '#696e4b',
    500: '#2f3807',
    950: '#000000',
  },
}
SCSS
$custom: #2f3807;
$custom-light: #696e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3807",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 7
  },
  "hsl": {
    "h": 71.02,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32152,
    "c": 0.0696,
    "h": 119.7
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#2F3807
secondary
#332378
accent
#34F457
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3807

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

Preview Lab → · Contrast checker → · Palette generator →

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