#2F460C#2F460C

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

Color values

HEX#2F460C
RGBrgb(47, 70, 12)
HSLhsl(84, 71%, 16%)
HSVhsv(84, 83%, 27%)
CMYKcmyk(32.9%, 0%, 82.9%, 72.5%)
CIE-LABlab(26.77, -19.13, 30.05)
CIE-LCHlch(26.77, 35.63, 122.47°)
OKLaboklab(36.22% -0.0546 0.067)
OKLCHoklch(36.22% 0.086 129.2)
XYZxyz(3.4288, 5.0111, 1.1343)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F460C #230C46
analogous
#46400C #2F460C #12460C
triadic
#2F460C #0C2F46 #460C2F
tetradic
#2F460C #0C4640 #230C46 #460C12
square
#2F460C #0C4640 #230C46 #460C12
split-complementary
#2F460C #0C1246 #400C46
monochromatic
#121A04 #121A04 #2F460C #527A15 #75AE1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F460C#FFFFFF#000000##FFFFFF
##2F460C1.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)
#4A4003
Deuteranopia (green-blind)
#473F12
Tritanopia (blue-blind)
#31433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f460c;
/* rgb */ color: rgb(47, 70, 12);
/* oklch */ color: oklch(36.2% 0.086 129.2);
Tailwind
colors: {
  custom: {
    50: '#6a7950',
    500: '#2f460c',
    950: '#000000',
  },
}
SCSS
$custom: #2f460c;
$custom-light: #6a7950;
$custom-dark: #000000;
JSON
{
  "hex": "#2f460c",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 83.793,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36222,
    "c": 0.08644,
    "h": 129.2
  },
  "luminance": 0.05011
}

Semantic roles & 50–950 ramp

primary
#2F460C
secondary
#4E2C82
accent
#3AED81
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F460C

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

Preview Lab → · Contrast checker → · Palette generator →

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