#2F4117#2F4117

#2F4117 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.9% C 0.069 H 128.9°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2F4117
RGBrgb(47, 65, 23)
HSLhsl(86, 48%, 17%)
HSVhsv(86, 65%, 25%)
CMYKcmyk(27.7%, 0%, 64.6%, 74.5%)
CIE-LABlab(25.10, -15.40, 22.92)
CIE-LCHlch(25.10, 27.61, 123.90°)
OKLaboklab(34.9% -0.0432 0.0537)
OKLCHoklch(34.9% 0.069 128.9)
XYZxyz(3.2172, 4.4467, 1.4992)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4117 #291741
analogous
#413E17 #2F4117 #1A4117
triadic
#2F4117 #172F41 #41172F
tetradic
#2F4117 #17413E #291741 #41171A
square
#2F4117 #17413E #291741 #41171A
split-complementary
#2F4117 #171A41 #3E1741
monochromatic
#101708 #101708 #2F4117 #506E27 #709B37

Accessibility & contrast

On white

11.11
#2F4117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2F4117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4117
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4117#FFFFFF#000000##FFFFFF
##2F41171.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C13
Deuteranopia (green-blind)
#423B1A
Tritanopia (blue-blind)
#303E38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4117;
/* rgb */ color: rgb(47, 65, 23);
/* oklch */ color: oklch(34.9% 0.069 128.9);
Tailwind
colors: {
  custom: {
    50: '#697556',
    500: '#2f4117',
    950: '#000000',
  },
}
SCSS
$custom: #2f4117;
$custom-light: #697556;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4117",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 23
  },
  "hsl": {
    "h": 85.714,
    "s": 47.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.349,
    "c": 0.06893,
    "h": 128.9
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#2F4117
secondary
#563C78
accent
#50D78A
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F4117

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

Preview Lab → · Contrast checker → · Palette generator →

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