#2F4211#2F4211

#2F4211 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 35.1% C 0.076 H 128.0°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2F4211
RGBrgb(47, 66, 17)
HSLhsl(83, 59%, 16%)
HSVhsv(83, 74%, 26%)
CMYKcmyk(28.8%, 0%, 74.2%, 74.1%)
CIE-LABlab(25.39, -16.57, 26.39)
CIE-LCHlch(25.39, 31.16, 122.12°)
OKLaboklab(35.11% -0.0471 0.0602)
OKLCHoklch(35.11% 0.076 128)
XYZxyz(3.2217, 4.5412, 1.2370)
Luminance0.0454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4211 #241142
analogous
#423D11 #2F4211 #174211
triadic
#2F4211 #112F42 #42112F
tetradic
#2F4211 #11423D #241142 #421117
square
#2F4211 #11423D #241142 #421117
split-complementary
#2F4211 #111742 #3D1142
monochromatic
#111806 #111806 #2F4211 #52731E #74A32A

Accessibility & contrast

On white

11.01
#2F4211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2F4211 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4211
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4211#FFFFFF#000000##FFFFFF
##2F42111.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D0A
Deuteranopia (green-blind)
#433C15
Tritanopia (blue-blind)
#313F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f4211;
/* rgb */ color: rgb(47, 66, 17);
/* oklch */ color: oklch(35.1% 0.076 128.0);
Tailwind
colors: {
  custom: {
    50: '#697652',
    500: '#2f4211',
    950: '#000000',
  },
}
SCSS
$custom: #2f4211;
$custom-light: #697652;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4211",
  "rgb": {
    "r": 47,
    "g": 66,
    "b": 17
  },
  "hsl": {
    "h": 83.265,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35113,
    "c": 0.07645,
    "h": 128
  },
  "luminance": 0.04541
}

Semantic roles & 50–950 ramp

primary
#2F4211
secondary
#4F337C
accent
#46E282
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2F4211

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

Preview Lab → · Contrast checker → · Palette generator →

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