#2F460A#2F460A

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

Color values

HEX#2F460A
RGBrgb(47, 70, 10)
HSLhsl(83, 75%, 16%)
HSVhsv(83, 86%, 27%)
CMYKcmyk(32.9%, 0%, 85.7%, 72.5%)
CIE-LABlab(26.75, -19.26, 30.83)
CIE-LCHlch(26.75, 36.35, 121.99°)
OKLaboklab(36.21% -0.0551 0.0683)
OKLCHoklch(36.21% 0.088 128.9)
XYZxyz(3.4172, 5.0065, 1.0734)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F460A #210A46
analogous
#463F0A #2F460A #11460A
triadic
#2F460A #0A2F46 #460A2F
tetradic
#2F460A #0A463F #210A46 #460A11
square
#2F460A #0A463F #210A46 #460A11
split-complementary
#2F460A #0A1146 #3F0A46
monochromatic
#121B04 #121B04 #2F460A #537C12 #77B119

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F460A#FFFFFF#000000##FFFFFF
##2F460A1.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)
#4A4000
Deuteranopia (green-blind)
#473F10
Tritanopia (blue-blind)
#31423B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f460a;
/* rgb */ color: rgb(47, 70, 10);
/* oklch */ color: oklch(36.2% 0.088 128.9);
Tailwind
colors: {
  custom: {
    50: '#6a794f',
    500: '#2f460a',
    950: '#000000',
  },
}
SCSS
$custom: #2f460a;
$custom-light: #6a794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f460a",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 10
  },
  "hsl": {
    "h": 83,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36207,
    "c": 0.08774,
    "h": 128.9
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#2F460A
secondary
#4B2983
accent
#36F27E
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F460A

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

Preview Lab → · Contrast checker → · Palette generator →

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