#2F4114#2F4114

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

Color values

HEX#2F4114
RGBrgb(47, 65, 20)
HSLhsl(84, 53%, 17%)
HSVhsv(84, 69%, 25%)
CMYKcmyk(27.7%, 0%, 69.2%, 74.5%)
CIE-LABlab(25.06, -15.73, 24.51)
CIE-LCHlch(25.06, 29.12, 122.69°)
OKLaboklab(34.86% -0.0445 0.0567)
OKLCHoklch(34.86% 0.072 128.1)
XYZxyz(3.1888, 4.4354, 1.3498)
Luminance0.0444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4114 #261441
analogous
#413D14 #2F4114 #194114
triadic
#2F4114 #142F41 #41142F
tetradic
#2F4114 #14413D #261441 #411419
square
#2F4114 #14413D #261441 #411419
split-complementary
#2F4114 #141941 #3D1441
monochromatic
#111707 #111707 #2F4114 #517022 #739F31

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F4114#FFFFFF#000000##FFFFFF
##2F41141.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)
#443C0F
Deuteranopia (green-blind)
#423B17
Tritanopia (blue-blind)
#313E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f4114;
/* rgb */ color: rgb(47, 65, 20);
/* oklch */ color: oklch(34.9% 0.072 128.1);
Tailwind
colors: {
  custom: {
    50: '#697554',
    500: '#2f4114',
    950: '#000000',
  },
}
SCSS
$custom: #2f4114;
$custom-light: #697554;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4114",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 20
  },
  "hsl": {
    "h": 84,
    "s": 52.941,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3486,
    "c": 0.07203,
    "h": 128.1
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#2F4114
secondary
#523879
accent
#4BDC85
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4114

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

Preview Lab → · Contrast checker → · Palette generator →

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