#2F3A07#2F3A07

#2F3A07 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.7% C 0.072 H 121.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#2F3A07
RGBrgb(47, 58, 7)
HSLhsl(73, 78%, 13%)
HSVhsv(73, 88%, 23%)
CMYKcmyk(19%, 0%, 87.9%, 77.3%)
CIE-LABlab(22.46, -12.79, 27.84)
CIE-LCHlch(22.46, 30.64, 114.67°)
OKLaboklab(32.72% -0.0378 0.0618)
OKLCHoklch(32.72% 0.072 121.4)
XYZxyz(2.7237, 3.6458, 0.7612)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A07 #12073A
analogous
#3A2B07 #2F3A07 #153A07
triadic
#2F3A07 #072F3A #3A072F
tetradic
#2F3A07 #073A2B #12073A #3A0715
square
#2F3A07 #073A2B #12073A #3A0715
split-complementary
#2F3A07 #07153A #2B073A
monochromatic
#161B03 #161B03 #2F3A07 #5B710E #88A714

Accessibility & contrast

On white

12.14
#2F3A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3A07
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A07#FFFFFF#000000##FFFFFF
##2F3A071.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#323630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a07;
/* rgb */ color: rgb(47, 58, 7);
/* oklch */ color: oklch(32.7% 0.072 121.4);
Tailwind
colors: {
  custom: {
    50: '#69704b',
    500: '#2f3a07',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a07;
$custom-light: #69704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a07",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 72.941,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32723,
    "c": 0.07245,
    "h": 121.4
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#2F3A07
secondary
#362379
accent
#33F55D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3A07

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

Preview Lab → · Contrast checker → · Palette generator →

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