#2F461B#2F461B

#2F461B is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.073 H 132.4°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2F461B
RGBrgb(47, 70, 27)
HSLhsl(92, 44%, 19%)
HSVhsv(92, 61%, 27%)
CMYKcmyk(32.9%, 0%, 61.4%, 72.5%)
CIE-LABlab(26.92, -17.69, 22.79)
CIE-LCHlch(26.92, 28.85, 127.81°)
OKLaboklab(36.39% -0.0492 0.0538)
OKLCHoklch(36.39% 0.073 132.4)
XYZxyz(3.5602, 5.0637, 1.8265)
Luminance0.0506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F461B #321B46
analogous
#45461B #2F461B #1B461D
triadic
#2F461B #1B2F46 #461B2F
tetradic
#2F461B #1B4546 #321B46 #461D1B
square
#2F461B #1B4546 #321B46 #461D1B
split-complementary
#2F461B #1D1B46 #461B45
monochromatic
#0F1609 #111A0A #2F461B #4D722C #6A9E3D

Accessibility & contrast

On white

10.43
#2F461B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F461B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F461B
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F461B#FFFFFF#000000##FFFFFF
##2F461B1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494117
Deuteranopia (green-blind)
#463F1E
Tritanopia (blue-blind)
#30433C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f461b;
/* rgb */ color: rgb(47, 70, 27);
/* oklch */ color: oklch(36.4% 0.073 132.4);
Tailwind
colors: {
  custom: {
    50: '#697959',
    500: '#2f461b',
    950: '#000000',
  },
}
SCSS
$custom: #2f461b;
$custom-light: #697959;
$custom-dark: #000000;
JSON
{
  "hex": "#2f461b",
  "rgb": {
    "r": 47,
    "g": 70,
    "b": 27
  },
  "hsl": {
    "h": 92.093,
    "s": 44.33,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.07292,
    "h": 132.4
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#2F461B
secondary
#60417C
accent
#54D498
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2F461B

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

Preview Lab → · Contrast checker → · Palette generator →

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