#2F3C0F#2F3C0F

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

Color values

HEX#2F3C0F
RGBrgb(47, 60, 15)
HSLhsl(77, 60%, 15%)
HSVhsv(77, 75%, 24%)
CMYKcmyk(21.7%, 0%, 75%, 76.5%)
CIE-LABlab(23.24, -13.35, 25.12)
CIE-LCHlch(23.24, 28.45, 118.00°)
OKLaboklab(33.37% -0.0384 0.0572)
OKLCHoklch(33.37% 0.069 123.9)
XYZxyz(2.8744, 3.8705, 1.0475)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C0F #1C0F3C
analogous
#3C330F #2F3C0F #193C0F
triadic
#2F3C0F #0F2F3C #3C0F2F
tetradic
#2F3C0F #0F3C33 #1C0F3C #3C0F19
square
#2F3C0F #0F3C33 #1C0F3C #3C0F19
split-complementary
#2F3C0F #0F193C #330F3C
monochromatic
#131806 #131806 #2F3C0F #556D1B #7C9E27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F3C0F#FFFFFF#000000##FFFFFF
##2F3C0F1.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)
#403809
Deuteranopia (green-blind)
#3E3712
Tritanopia (blue-blind)
#323933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c0f;
/* rgb */ color: rgb(47, 60, 15);
/* oklch */ color: oklch(33.4% 0.069 123.9);
Tailwind
colors: {
  custom: {
    50: '#697150',
    500: '#2f3c0f',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c0f;
$custom-light: #697150;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c0f",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 15
  },
  "hsl": {
    "h": 77.333,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.06891,
    "h": 123.9
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#2F3C0F
secondary
#453076
accent
#45E372
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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