#2F3C06#2F3C06

#2F3C06 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.3% C 0.076 H 122.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2F3C06
RGBrgb(47, 60, 6)
HSLhsl(74, 82%, 13%)
HSVhsv(74, 90%, 24%)
CMYKcmyk(21.7%, 0%, 90%, 76.5%)
CIE-LABlab(23.17, -14.01, 28.98)
CIE-LCHlch(23.17, 32.19, 115.81°)
OKLaboklab(33.29% -0.0412 0.0639)
OKLCHoklch(33.29% 0.076 122.8)
XYZxyz(2.8211, 3.8492, 0.7666)
Luminance0.0385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C06 #13063C
analogous
#3C2E06 #2F3C06 #143C06
triadic
#2F3C06 #062F3C #3C062F
tetradic
#2F3C06 #063C2E #13063C #3C0614
square
#2F3C06 #063C2E #13063C #3C0614
split-complementary
#2F3C06 #06143C #2E063C
monochromatic
#161C03 #161C03 #2F3C06 #5B740C #86AB11

Accessibility & contrast

On white

11.87
#2F3C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2F3C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3C06
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C06#FFFFFF#000000##FFFFFF
##2F3C061.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#3E370B
Tritanopia (blue-blind)
#323832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c06;
/* rgb */ color: rgb(47, 60, 6);
/* oklch */ color: oklch(33.3% 0.076 122.8);
Tailwind
colors: {
  custom: {
    50: '#6a714b',
    500: '#2f3c06',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c06;
$custom-light: #6a714b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c06",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 74.444,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33288,
    "c": 0.07609,
    "h": 122.8
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#2F3C06
secondary
#37227C
accent
#30F860
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3C06

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

Preview Lab → · Contrast checker → · Palette generator →

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