#2F3F0A#2F3F0A

#2F3F0A is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.2% C 0.077 H 125.3°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#2F3F0A
RGBrgb(47, 63, 10)
HSLhsl(78, 73%, 14%)
HSVhsv(78, 84%, 25%)
CMYKcmyk(25.4%, 0%, 84.1%, 75.3%)
CIE-LABlab(24.26, -15.45, 28.44)
CIE-LCHlch(24.26, 32.37, 118.50°)
OKLaboklab(34.18% -0.0447 0.0633)
OKLCHoklch(34.18% 0.078 125.3)
XYZxyz(3.0046, 4.1812, 0.9359)
Luminance0.0418 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3F0A #1A0A3F
analogous
#3F350A #2F3F0A #153F0A
triadic
#2F3F0A #0A2F3F #3F0A2F
tetradic
#2F3F0A #0A3F35 #1A0A3F #3F0A15
square
#2F3F0A #0A3F35 #1A0A3F #3F0A15
split-complementary
#2F3F0A #0A153F #350A3F
monochromatic
#141A04 #141A04 #2F3F0A #567412 #7EA91B

Accessibility & contrast

On white

11.44
#2F3F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2F3F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3F0A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3F0A#FFFFFF#000000##FFFFFF
##2F3F0A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A02
Deuteranopia (green-blind)
#41390F
Tritanopia (blue-blind)
#323C35
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f3f0a;
/* rgb */ color: rgb(47, 63, 10);
/* oklch */ color: oklch(34.2% 0.077 125.3);
Tailwind
colors: {
  custom: {
    50: '#6a744d',
    500: '#2f3f0a',
    950: '#000000',
  },
}
SCSS
$custom: #2f3f0a;
$custom-light: #6a744d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3f0a",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 10
  },
  "hsl": {
    "h": 78.113,
    "s": 72.603,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34184,
    "c": 0.0775,
    "h": 125.3
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#2F3F0A
secondary
#42297C
accent
#38EF70
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2F3F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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