#2F3B06#2F3B06

#2F3B06 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 33.0% C 0.075 H 122.1°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#2F3B06
RGBrgb(47, 59, 6)
HSLhsl(74, 82%, 13%)
HSVhsv(74, 90%, 23%)
CMYKcmyk(20.3%, 0%, 89.8%, 76.9%)
CIE-LABlab(22.81, -13.44, 28.61)
CIE-LCHlch(22.81, 31.61, 115.15°)
OKLaboklab(33% -0.0397 0.0633)
OKLCHoklch(33% 0.075 122.1)
XYZxyz(2.7692, 3.7454, 0.7493)
Luminance0.0374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3B06 #12063B
analogous
#3B2C06 #2F3B06 #143B06
triadic
#2F3B06 #062F3B #3B062F
tetradic
#2F3B06 #063B2C #12063B #3B0614
square
#2F3B06 #063B2C #12063B #3B0614
split-complementary
#2F3B06 #06143B #2C063B
monochromatic
#161C03 #161C03 #2F3B06 #5B730C #88AA11

Accessibility & contrast

On white

12.01
#2F3B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2F3B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3B06
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3B06#FFFFFF#000000##FFFFFF
##2F3B061.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3E360B
Tritanopia (blue-blind)
#323731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3b06;
/* rgb */ color: rgb(47, 59, 6);
/* oklch */ color: oklch(33.0% 0.075 122.1);
Tailwind
colors: {
  custom: {
    50: '#6a704b',
    500: '#2f3b06',
    950: '#000000',
  },
}
SCSS
$custom: #2f3b06;
$custom-light: #6a704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3b06",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 6
  },
  "hsl": {
    "h": 73.585,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.33001,
    "c": 0.07466,
    "h": 122.1
  },
  "luminance": 0.03745
}

Semantic roles & 50–950 ramp

primary
#2F3B06
secondary
#36227B
accent
#30F85D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3B06

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

Preview Lab → · Contrast checker → · Palette generator →

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