#2F3C10#2F3C10

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

Color values

HEX#2F3C10
RGBrgb(47, 60, 16)
HSLhsl(78, 58%, 15%)
HSVhsv(78, 73%, 24%)
CMYKcmyk(21.7%, 0%, 73.3%, 76.5%)
CIE-LABlab(23.25, -13.26, 24.62)
CIE-LCHlch(23.25, 27.97, 118.31°)
OKLaboklab(33.38% -0.0381 0.0563)
OKLCHoklch(33.38% 0.068 124.1)
XYZxyz(2.8817, 3.8734, 1.0859)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3C10 #1D103C
analogous
#3C3310 #2F3C10 #193C10
triadic
#2F3C10 #102F3C #3C102F
tetradic
#2F3C10 #103C33 #1D103C #3C1019
square
#2F3C10 #103C33 #1D103C #3C1019
split-complementary
#2F3C10 #10193C #33103C
monochromatic
#131806 #131806 #2F3C10 #556C1D #7B9D2A

Accessibility & contrast

On white

11.83
#2F3C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3C10
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3C10#FFFFFF#000000##FFFFFF
##2F3C101.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380A
Deuteranopia (green-blind)
#3E3713
Tritanopia (blue-blind)
#313933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2f3c10;
/* rgb */ color: rgb(47, 60, 16);
/* oklch */ color: oklch(33.4% 0.068 124.1);
Tailwind
colors: {
  custom: {
    50: '#697150',
    500: '#2f3c10',
    950: '#000000',
  },
}
SCSS
$custom: #2f3c10;
$custom-light: #697150;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3c10",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 16
  },
  "hsl": {
    "h": 77.727,
    "s": 57.895,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33381,
    "c": 0.06798,
    "h": 124.1
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#2F3C10
secondary
#463276
accent
#47E174
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F3C10

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

Preview Lab → · Contrast checker → · Palette generator →

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