#2F460B#2F460B

#2F460B is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.2% C 0.087 H 129.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2F460B
RGBrgb(47, 70, 11)
HSLhsl(83, 73%, 16%)
HSVhsv(83, 84%, 27%)
CMYKcmyk(32.9%, 0%, 84.3%, 72.5%)
CIE-LABlab(26.76, -19.19, 30.45)
CIE-LCHlch(26.76, 35.99, 122.23°)
OKLaboklab(36.21% -0.0549 0.0677)
OKLCHoklch(36.21% 0.087 129)
XYZxyz(3.4228, 5.0087, 1.1030)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F460B #220B46
analogous
#463F0B #2F460B #11460B
triadic
#2F460B #0B2F46 #460B2F
tetradic
#2F460B #0B463F #220B46 #460B11
square
#2F460B #0B463F #220B46 #460B11
split-complementary
#2F460B #0B1146 #3F0B46
monochromatic
#121A04 #121A04 #2F460B #537B13 #76B01C

Accessibility & contrast

On white

10.49
#2F460B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F460B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F460B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F460B#FFFFFF#000000##FFFFFF
##2F460B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4002
Deuteranopia (green-blind)
#473F11
Tritanopia (blue-blind)
#31423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f460b;
/* rgb */ color: rgb(47, 70, 11);
/* oklch */ color: oklch(36.2% 0.087 129.0);
Tailwind
colors: {
  custom: {
    50: '#6a794f',
    500: '#2f460b',
    950: '#000000',
  },
}
SCSS
$custom: #2f460b;
$custom-light: #6a794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f460b",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 83.39,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36214,
    "c": 0.08711,
    "h": 129
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#2F460B
secondary
#4D2A82
accent
#38F080
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F460B

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

Preview Lab → · Contrast checker → · Palette generator →

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