#2F3A10#2F3A10

#2F3A10 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.065 H 122.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2F3A10
RGBrgb(47, 58, 16)
HSLhsl(76, 57%, 15%)
HSVhsv(76, 72%, 23%)
CMYKcmyk(19%, 0%, 72.4%, 77.3%)
CIE-LABlab(22.54, -12.09, 23.86)
CIE-LCHlch(22.54, 26.75, 116.88°)
OKLaboklab(32.81% -0.0348 0.0547)
OKLCHoklch(32.81% 0.065 122.5)
XYZxyz(2.7789, 3.6679, 1.0517)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3A10 #1B103A
analogous
#3A3010 #2F3A10 #1A3A10
triadic
#2F3A10 #102F3A #3A102F
tetradic
#2F3A10 #103A30 #1B103A #3A101A
square
#2F3A10 #103A30 #1B103A #3A101A
split-complementary
#2F3A10 #101A3A #30103A
monochromatic
#131807 #131807 #2F3A10 #566A1D #7D9A2A

Accessibility & contrast

On white

12.11
#2F3A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3A10
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3A10#FFFFFF#000000##FFFFFF
##2F3A101.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3a10;
/* rgb */ color: rgb(47, 58, 16);
/* oklch */ color: oklch(32.8% 0.065 122.5);
Tailwind
colors: {
  custom: {
    50: '#697050',
    500: '#2f3a10',
    950: '#000000',
  },
}
SCSS
$custom: #2f3a10;
$custom-light: #697050;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3a10",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 16
  },
  "hsl": {
    "h": 75.714,
    "s": 56.757,
    "l": 14.51
  },
  "oklch": {
    "l": 0.3281,
    "c": 0.06486,
    "h": 122.5
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#2F3A10
secondary
#433274
accent
#48E070
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3A10

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

Preview Lab → · Contrast checker → · Palette generator →

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