#2F4116#2F4116

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

Color values

HEX#2F4116
RGBrgb(47, 65, 22)
HSLhsl(85, 49%, 17%)
HSVhsv(85, 66%, 25%)
CMYKcmyk(27.7%, 0%, 66.2%, 74.5%)
CIE-LABlab(25.08, -15.51, 23.46)
CIE-LCHlch(25.08, 28.12, 123.48°)
OKLaboklab(34.89% -0.0437 0.0547)
OKLCHoklch(34.89% 0.07 128.6)
XYZxyz(3.2074, 4.4428, 1.4475)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4116 #281641
analogous
#413E16 #2F4116 #1A4116
triadic
#2F4116 #162F41 #41162F
tetradic
#2F4116 #16413E #281641 #41161A
square
#2F4116 #16413E #281641 #41161A
split-complementary
#2F4116 #161A41 #3E1641
monochromatic
#111708 #111708 #2F4116 #506F25 #719C35

Accessibility & contrast

On white

11.12
#2F4116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4116
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4116#FFFFFF#000000##FFFFFF
##2F41161.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C11
Deuteranopia (green-blind)
#423B19
Tritanopia (blue-blind)
#313E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f4116;
/* rgb */ color: rgb(47, 65, 22);
/* oklch */ color: oklch(34.9% 0.070 128.6);
Tailwind
colors: {
  custom: {
    50: '#697555',
    500: '#2f4116',
    950: '#000000',
  },
}
SCSS
$custom: #2f4116;
$custom-light: #697555;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4116",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 22
  },
  "hsl": {
    "h": 85.116,
    "s": 49.425,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34886,
    "c": 0.06999,
    "h": 128.6
  },
  "luminance": 0.04443
}

Semantic roles & 50–950 ramp

primary
#2F4116
secondary
#543A78
accent
#4FD989
background
#F6F7F5
surface
#EBEDE8
border
#C6C8C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2F4116

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

Preview Lab → · Contrast checker → · Palette generator →

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