#2F4311#2F4311

#2F4311 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.4% C 0.078 H 128.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2F4311
RGBrgb(47, 67, 17)
HSLhsl(84, 60%, 16%)
HSVhsv(84, 75%, 26%)
CMYKcmyk(29.9%, 0%, 74.6%, 73.7%)
CIE-LABlab(25.74, -17.12, 26.77)
CIE-LCHlch(25.74, 31.78, 122.60°)
OKLaboklab(35.4% -0.0486 0.061)
OKLCHoklch(35.4% 0.078 128.6)
XYZxyz(3.2806, 4.6590, 1.2566)
Luminance0.0466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4311 #251143
analogous
#433E11 #2F4311 #164311
triadic
#2F4311 #112F43 #43112F
tetradic
#2F4311 #11433E #251143 #431116
square
#2F4311 #11433E #251143 #431116
split-complementary
#2F4311 #111643 #3E1143
monochromatic
#111806 #111806 #2F4311 #51741D #73A52A

Accessibility & contrast

On white

10.87
#2F4311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F4311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4311
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4311#FFFFFF#000000##FFFFFF
##2F43111.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0A
Deuteranopia (green-blind)
#443D15
Tritanopia (blue-blind)
#314039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f4311;
/* rgb */ color: rgb(47, 67, 17);
/* oklch */ color: oklch(35.4% 0.078 128.6);
Tailwind
colors: {
  custom: {
    50: '#697752',
    500: '#2f4311',
    950: '#000000',
  },
}
SCSS
$custom: #2f4311;
$custom-light: #697752;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4311",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 17
  },
  "hsl": {
    "h": 84,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35401,
    "c": 0.07801,
    "h": 128.6
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#2F4311
secondary
#51337D
accent
#45E384
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4311

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

Preview Lab → · Contrast checker → · Palette generator →

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