#2F3E11#2F3E11

#2F3E11 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.070 H 125.7°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#2F3E11
RGBrgb(47, 62, 17)
HSLhsl(80, 57%, 15%)
HSVhsv(80, 73%, 24%)
CMYKcmyk(24.2%, 0%, 72.6%, 75.7%)
CIE-LABlab(23.97, -14.32, 24.88)
CIE-LCHlch(23.97, 28.71, 119.93°)
OKLaboklab(33.96% -0.0409 0.057)
OKLCHoklch(33.96% 0.07 125.7)
XYZxyz(2.9961, 4.0900, 1.1618)
Luminance0.0409 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3E11 #20113E
analogous
#3E3611 #2F3E11 #183E11
triadic
#2F3E11 #112F3E #3E112F
tetradic
#2F3E11 #113E36 #20113E #3E1118
square
#2F3E11 #113E36 #20113E #3E1118
split-complementary
#2F3E11 #11183E #36113E
monochromatic
#121807 #121807 #2F3E11 #536E1E #789E2B

Accessibility & contrast

On white

11.55
#2F3E11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F3E11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3E11
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3E11#FFFFFF#000000##FFFFFF
##2F3E111.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0B
Deuteranopia (green-blind)
#403914
Tritanopia (blue-blind)
#313B35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f3e11;
/* rgb */ color: rgb(47, 62, 17);
/* oklch */ color: oklch(34.0% 0.070 125.7);
Tailwind
colors: {
  custom: {
    50: '#697351',
    500: '#2f3e11',
    950: '#000000',
  },
}
SCSS
$custom: #2f3e11;
$custom-light: #697351;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3e11",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 17
  },
  "hsl": {
    "h": 80,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33964,
    "c": 0.07017,
    "h": 125.7
  },
  "luminance": 0.0409
}

Semantic roles & 50–950 ramp

primary
#2F3E11
secondary
#4A3377
accent
#48E07A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F3E11

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

Preview Lab → · Contrast checker → · Palette generator →

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