#2F3A08#2F3A08

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

Color values

HEX#2F3A08
RGBrgb(47, 58, 8)
HSLhsl(73, 76%, 13%)
HSVhsv(73, 86%, 23%)
CMYKcmyk(19%, 0%, 86.2%, 77.3%)
CIE-LABlab(22.47, -12.72, 27.44)
CIE-LCHlch(22.47, 30.25, 114.86°)
OKLaboklab(32.73% -0.0375 0.0611)
OKLCHoklch(32.73% 0.072 121.5)
XYZxyz(2.7292, 3.6480, 0.7900)
Luminance0.0365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A08 #13083A
analogous
#3A2C08 #2F3A08 #163A08
triadic
#2F3A08 #082F3A #3A082F
tetradic
#2F3A08 #083A2C #13083A #3A0816
square
#2F3A08 #083A2C #13083A #3A0816
split-complementary
#2F3A08 #08163A #2C083A
monochromatic
#161B04 #161B04 #2F3A08 #5B700F #86A617

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3A08#FFFFFF#000000##FFFFFF
##2F3A081.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)
#3E3601
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#323630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3a08;
/* rgb */ color: rgb(47, 58, 8);
/* oklch */ color: oklch(32.7% 0.072 121.5);
Tailwind
colors: {
  custom: {
    50: '#69704c',
    500: '#2f3a08',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a08;
$custom-light: #69704c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a08",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 73.2,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32732,
    "c": 0.07167,
    "h": 121.5
  },
  "luminance": 0.03648
}

Semantic roles & 50–950 ramp

primary
#2F3A08
secondary
#372579
accent
#35F25F
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3A08

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

Preview Lab → · Contrast checker → · Palette generator →

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