#2F3B07#2F3B07

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

Color values

HEX#2F3B07
RGBrgb(47, 59, 7)
HSLhsl(74, 79%, 13%)
HSVhsv(74, 88%, 23%)
CMYKcmyk(20.3%, 0%, 88.1%, 76.9%)
CIE-LABlab(22.82, -13.37, 28.21)
CIE-LCHlch(22.82, 31.22, 115.35°)
OKLaboklab(33.01% -0.0394 0.0625)
OKLCHoklch(33.01% 0.074 122.2)
XYZxyz(2.7746, 3.7476, 0.7782)
Luminance0.0375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B07 #13073B
analogous
#3B2D07 #2F3B07 #153B07
triadic
#2F3B07 #072F3B #3B072F
tetradic
#2F3B07 #073B2D #13073B #3B0715
square
#2F3B07 #073B2D #13073B #3B0715
split-complementary
#2F3B07 #07153B #2D073B
monochromatic
#161B03 #161B03 #2F3B07 #5B720D #86A814

Accessibility & contrast

On white

12.00
#2F3B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2F3B07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B07
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B07#FFFFFF#000000##FFFFFF
##2F3B071.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3b07;
/* rgb */ color: rgb(47, 59, 7);
/* oklch */ color: oklch(33.0% 0.074 122.2);
Tailwind
colors: {
  custom: {
    50: '#6a714b',
    500: '#2f3b07',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b07;
$custom-light: #6a714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b07",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 7
  },
  "hsl": {
    "h": 73.846,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.3301,
    "c": 0.07388,
    "h": 122.2
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#2F3B07
secondary
#37237A
accent
#33F55F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3B07

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

Preview Lab → · Contrast checker → · Palette generator →

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