#2F460D#2F460D

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

Color values

HEX#2F460D
RGBrgb(47, 70, 13)
HSLhsl(84, 69%, 16%)
HSVhsv(84, 81%, 27%)
CMYKcmyk(32.9%, 0%, 81.4%, 72.5%)
CIE-LABlab(26.77, -19.06, 29.65)
CIE-LCHlch(26.77, 35.24, 122.73°)
OKLaboklab(36.23% -0.0543 0.0664)
OKLCHoklch(36.23% 0.086 129.3)
XYZxyz(3.4351, 5.0136, 1.1674)
Luminance0.0501 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F460D #240D46
analogous
#46410D #2F460D #13460D
triadic
#2F460D #0D2F46 #460D2F
tetradic
#2F460D #0D4641 #240D46 #460D13
square
#2F460D #0D4641 #240D46 #460D13
split-complementary
#2F460D #0D1346 #410D46
monochromatic
#111A05 #111A05 #2F460D #527A17 #74AD20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #2f460d;
/* rgb */ color: rgb(47, 70, 13);
/* oklch */ color: oklch(36.2% 0.086 129.3);
Tailwind
colors: {
  custom: {
    50: '#6a7950',
    500: '#2f460d',
    950: '#000000',
  },
}
SCSS
$custom: #2f460d;
$custom-light: #6a7950;
$custom-dark: #000000;
JSON
{
  "hex": "#2f460d",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 13
  },
  "hsl": {
    "h": 84.211,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.3623,
    "c": 0.08574,
    "h": 129.3
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#2F460D
secondary
#4F2D81
accent
#3CEC83
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F460D

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

Preview Lab → · Contrast checker → · Palette generator →

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