#2F3A09#2F3A09

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

Color values

HEX#2F3A09
RGBrgb(47, 58, 9)
HSLhsl(73, 73%, 13%)
HSVhsv(73, 84%, 23%)
CMYKcmyk(19%, 0%, 84.5%, 77.3%)
CIE-LABlab(22.48, -12.65, 27.04)
CIE-LCHlch(22.48, 29.86, 115.06°)
OKLaboklab(32.74% -0.0372 0.0604)
OKLCHoklch(32.74% 0.071 121.6)
XYZxyz(2.7347, 3.6502, 0.8189)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A09 #14093A
analogous
#3A2C09 #2F3A09 #163A09
triadic
#2F3A09 #092F3A #3A092F
tetradic
#2F3A09 #093A2C #14093A #3A0916
square
#2F3A09 #093A2C #14093A #3A0916
split-complementary
#2F3A09 #09163A #2C093A
monochromatic
#151A04 #151A04 #2F3A09 #5A6F11 #85A419

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3A09#FFFFFF#000000##FFFFFF
##2F3A091.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)
#3E3602
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a09;
/* rgb */ color: rgb(47, 58, 9);
/* oklch */ color: oklch(32.7% 0.071 121.6);
Tailwind
colors: {
  custom: {
    50: '#69704c',
    500: '#2f3a09',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a09;
$custom-light: #69704c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a09",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 9
  },
  "hsl": {
    "h": 73.469,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32741,
    "c": 0.07088,
    "h": 121.6
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#2F3A09
secondary
#392778
accent
#38F061
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3A09

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

Preview Lab → · Contrast checker → · Palette generator →

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