#2F4111#2F4111

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

Color values

HEX#2F4111
RGBrgb(47, 65, 17)
HSLhsl(83, 59%, 16%)
HSVhsv(83, 74%, 25%)
CMYKcmyk(27.7%, 0%, 73.8%, 74.5%)
CIE-LABlab(25.03, -16.02, 26.02)
CIE-LCHlch(25.03, 30.55, 121.62°)
OKLaboklab(34.83% -0.0456 0.0594)
OKLCHoklch(34.83% 0.075 127.5)
XYZxyz(3.1638, 4.4253, 1.2177)
Luminance0.0442 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4111 #231141
analogous
#413B11 #2F4111 #174111
triadic
#2F4111 #112F41 #41112F
tetradic
#2F4111 #11413B #231141 #411117
square
#2F4111 #11413B #231141 #411117
split-complementary
#2F4111 #111741 #3B1141
monochromatic
#121806 #121806 #2F4111 #52721E #75A22A

Accessibility & contrast

On white

11.14
#2F4111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4111
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4111#FFFFFF#000000##FFFFFF
##2F41111.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C0B
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#313E37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f4111;
/* rgb */ color: rgb(47, 65, 17);
/* oklch */ color: oklch(34.8% 0.075 127.5);
Tailwind
colors: {
  custom: {
    50: '#697552',
    500: '#2f4111',
    950: '#000000',
  },
}
SCSS
$custom: #2f4111;
$custom-light: #697552;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4111",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 17
  },
  "hsl": {
    "h": 82.5,
    "s": 58.537,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34825,
    "c": 0.07488,
    "h": 127.5
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#2F4111
secondary
#4E337B
accent
#46E280
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4111

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

Preview Lab → · Contrast checker → · Palette generator →

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