#2F3C0E#2F3C0E

#2F3C0E is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.070 H 123.8°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#2F3C0E
RGBrgb(47, 60, 14)
HSLhsl(77, 62%, 15%)
HSVhsv(77, 77%, 24%)
CMYKcmyk(21.7%, 0%, 76.7%, 76.5%)
CIE-LABlab(23.23, -13.44, 25.60)
CIE-LCHlch(23.23, 28.91, 117.70°)
OKLaboklab(33.36% -0.0388 0.058)
OKLCHoklch(33.36% 0.07 123.8)
XYZxyz(2.8674, 3.8677, 1.0109)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C0E #1B0E3C
analogous
#3C320E #2F3C0E #183C0E
triadic
#2F3C0E #0E2F3C #3C0E2F
tetradic
#2F3C0E #0E3C32 #1B0E3C #3C0E18
square
#2F3C0E #0E3C32 #1B0E3C #3C0E18
split-complementary
#2F3C0E #0E183C #320E3C
monochromatic
#131906 #131906 #2F3C0E #566E1A #7D9F25

Accessibility & contrast

On white

11.84
#2F3C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3C0E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C0E#FFFFFF#000000##FFFFFF
##2F3C0E1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403808
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#323933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c0e;
/* rgb */ color: rgb(47, 60, 14);
/* oklch */ color: oklch(33.4% 0.070 123.8);
Tailwind
colors: {
  custom: {
    50: '#69714f',
    500: '#2f3c0e',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c0e;
$custom-light: #69714f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c0e",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 14
  },
  "hsl": {
    "h": 76.957,
    "s": 62.162,
    "l": 14.51
  },
  "oklch": {
    "l": 0.33359,
    "c": 0.06981,
    "h": 123.8
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#2F3C0E
secondary
#432F77
accent
#43E571
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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