#2F3707#2F3707

#2F3707 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.068 H 118.8°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2F3707
RGBrgb(47, 55, 7)
HSLhsl(70, 77%, 12%)
HSVhsv(70, 87%, 22%)
CMYKcmyk(14.5%, 0%, 87.3%, 78.4%)
CIE-LABlab(21.40, -11.01, 26.71)
CIE-LCHlch(21.40, 28.89, 112.40°)
OKLaboklab(31.87% -0.0329 0.0597)
OKLCHoklch(31.87% 0.068 118.8)
XYZxyz(2.5769, 3.3521, 0.7122)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3707 #0F0737
analogous
#372707 #2F3707 #173707
triadic
#2F3707 #072F37 #37072F
tetradic
#2F3707 #073727 #0F0737 #370717
square
#2F3707 #073727 #0F0737 #370717
split-complementary
#2F3707 #071737 #270737
monochromatic
#171B03 #171B03 #2F3707 #5D6D0E #8CA415

Accessibility & contrast

On white

12.57
#2F3707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F3707 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3707
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3707#FFFFFF#000000##FFFFFF
##2F37071.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3301
Deuteranopia (green-blind)
#3A340B
Tritanopia (blue-blind)
#32332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3707;
/* rgb */ color: rgb(47, 55, 7);
/* oklch */ color: oklch(31.9% 0.068 118.8);
Tailwind
colors: {
  custom: {
    50: '#696d4b',
    500: '#2f3707',
    950: '#000000',
  },
}
SCSS
$custom: #2f3707;
$custom-light: #696d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3707",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 7
  },
  "hsl": {
    "h": 70,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31867,
    "c": 0.06819,
    "h": 118.8
  },
  "luminance": 0.03352
}

Semantic roles & 50–950 ramp

primary
#2F3707
secondary
#312377
accent
#34F454
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3707

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

Preview Lab → · Contrast checker → · Palette generator →

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