#2F460E#2F460E

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

Color values

HEX#2F460E
RGBrgb(47, 70, 14)
HSLhsl(85, 67%, 16%)
HSVhsv(85, 80%, 27%)
CMYKcmyk(32.9%, 0%, 80%, 72.5%)
CIE-LABlab(26.78, -18.98, 29.22)
CIE-LCHlch(26.78, 34.85, 123.01°)
OKLaboklab(36.24% -0.054 0.0656)
OKLCHoklch(36.24% 0.085 129.4)
XYZxyz(3.4417, 5.0163, 1.2023)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F460E #250E46
analogous
#46410E #2F460E #13460E
triadic
#2F460E #0E2F46 #460E2F
tetradic
#2F460E #0E4641 #250E46 #460E13
square
#2F460E #0E4641 #250E46 #460E13
split-complementary
#2F460E #0E1346 #410E46
monochromatic
#111A05 #111A05 #2F460E #517918 #73AC22

Accessibility & contrast

On white

10.48
#2F460E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F460E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F460E#FFFFFF#000000##FFFFFF
##2F460E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4005
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#31433B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f460e;
/* rgb */ color: rgb(47, 70, 14);
/* oklch */ color: oklch(36.2% 0.085 129.4);
Tailwind
colors: {
  custom: {
    50: '#6a7951',
    500: '#2f460e',
    950: '#000000',
  },
}
SCSS
$custom: #2f460e;
$custom-light: #6a7951;
$custom-dark: #000000;
JSON
{
  "hex": "#2f460e",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 84.643,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36238,
    "c": 0.085,
    "h": 129.4
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#2F460E
secondary
#512F81
accent
#3EEA85
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2F460E

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

Preview Lab → · Contrast checker → · Palette generator →

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