#2F4113#2F4113

#2F4113 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.073 H 127.9°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2F4113
RGBrgb(47, 65, 19)
HSLhsl(83, 55%, 16%)
HSVhsv(83, 71%, 25%)
CMYKcmyk(27.7%, 0%, 70.8%, 74.5%)
CIE-LABlab(25.05, -15.83, 25.02)
CIE-LCHlch(25.05, 29.61, 122.32°)
OKLaboklab(34.85% -0.0448 0.0576)
OKLCHoklch(34.85% 0.073 127.9)
XYZxyz(3.1801, 4.4319, 1.3039)
Luminance0.0443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4113 #251341
analogous
#413C13 #2F4113 #184113
triadic
#2F4113 #132F41 #41132F
tetradic
#2F4113 #13413C #251341 #411318
square
#2F4113 #13413C #251341 #411318
split-complementary
#2F4113 #131841 #3C1341
monochromatic
#111807 #111807 #2F4113 #517021 #73A02F

Accessibility & contrast

On white

11.13
#2F4113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4113
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4113#FFFFFF#000000##FFFFFF
##2F41131.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0D
Deuteranopia (green-blind)
#423B16
Tritanopia (blue-blind)
#313E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f4113;
/* rgb */ color: rgb(47, 65, 19);
/* oklch */ color: oklch(34.8% 0.073 127.9);
Tailwind
colors: {
  custom: {
    50: '#697553',
    500: '#2f4113',
    950: '#000000',
  },
}
SCSS
$custom: #2f4113;
$custom-light: #697553;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4113",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 19
  },
  "hsl": {
    "h": 83.478,
    "s": 54.762,
    "l": 16.471
  },
  "oklch": {
    "l": 0.34848,
    "c": 0.07302,
    "h": 127.9
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#2F4113
secondary
#51367A
accent
#4ADE84
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4113

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

Preview Lab → · Contrast checker → · Palette generator →

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