#2F4109#2F4109

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

Color values

HEX#2F4109
RGBrgb(47, 65, 9)
HSLhsl(79, 76%, 15%)
HSVhsv(79, 86%, 25%)
CMYKcmyk(27.7%, 0%, 86.2%, 74.5%)
CIE-LABlab(24.97, -16.62, 29.53)
CIE-LCHlch(24.97, 33.89, 119.37°)
OKLaboklab(34.75% -0.048 0.0654)
OKLCHoklch(34.75% 0.081 126.3)
XYZxyz(3.1119, 4.4046, 0.9446)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4109 #1B0941
analogous
#413709 #2F4109 #134109
triadic
#2F4109 #092F41 #41092F
tetradic
#2F4109 #094137 #1B0941 #410913
square
#2F4109 #094137 #1B0941 #410913
split-complementary
#2F4109 #091341 #370941
monochromatic
#131B04 #131B04 #2F4109 #567710 #7DAD18

Accessibility & contrast

On white

11.16
#2F4109 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2F4109 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4109
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4109#FFFFFF#000000##FFFFFF
##2F41091.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C01
Deuteranopia (green-blind)
#433B0E
Tritanopia (blue-blind)
#313D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f4109;
/* rgb */ color: rgb(47, 65, 9);
/* oklch */ color: oklch(34.8% 0.081 126.3);
Tailwind
colors: {
  custom: {
    50: '#6a754d',
    500: '#2f4109',
    950: '#000000',
  },
}
SCSS
$custom: #2f4109;
$custom-light: #6a754d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4109",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 9
  },
  "hsl": {
    "h": 79.286,
    "s": 75.676,
    "l": 14.51
  },
  "oklch": {
    "l": 0.34753,
    "c": 0.08112,
    "h": 126.3
  },
  "luminance": 0.04405
}

Semantic roles & 50–950 ramp

primary
#2F4109
secondary
#43277F
accent
#36F272
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F4109

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

Preview Lab → · Contrast checker → · Palette generator →

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