#2F4106#2F4106

#2F4106 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.7% C 0.083 H 126.0°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2F4106
RGBrgb(47, 65, 6)
HSLhsl(78, 83%, 14%)
HSVhsv(78, 91%, 25%)
CMYKcmyk(27.7%, 0%, 90.8%, 74.5%)
CIE-LABlab(24.95, -16.82, 30.74)
CIE-LCHlch(24.95, 35.04, 118.68°)
OKLaboklab(34.73% -0.0489 0.0673)
OKLCHoklch(34.73% 0.083 126)
XYZxyz(3.0955, 4.3980, 0.8581)
Luminance0.0440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4106 #180641
analogous
#413606 #2F4106 #124106
triadic
#2F4106 #062F41 #41062F
tetradic
#2F4106 #064136 #180641 #410612
square
#2F4106 #064136 #180641 #410612
split-complementary
#2F4106 #061241 #360641
monochromatic
#141C03 #141C03 #2F4106 #58790B #80B110

Accessibility & contrast

On white

11.17
#2F4106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4106
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4106#FFFFFF#000000##FFFFFF
##2F41061.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C00
Deuteranopia (green-blind)
#433B0C
Tritanopia (blue-blind)
#323D36
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f4106;
/* rgb */ color: rgb(47, 65, 6);
/* oklch */ color: oklch(34.7% 0.083 126.0);
Tailwind
colors: {
  custom: {
    50: '#6a754c',
    500: '#2f4106',
    950: '#000000',
  },
}
SCSS
$custom: #2f4106;
$custom-light: #6a754c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4106",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 6
  },
  "hsl": {
    "h": 78.305,
    "s": 83.099,
    "l": 13.922
  },
  "oklch": {
    "l": 0.3473,
    "c": 0.0832,
    "h": 126
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#2F4106
secondary
#3F2281
accent
#2EF96C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #2F4106

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

Preview Lab → · Contrast checker → · Palette generator →

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