#2F390C#2F390C

#2F390C is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.067 H 121.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2F390C
RGBrgb(47, 57, 12)
HSLhsl(73, 65%, 14%)
HSVhsv(73, 79%, 22%)
CMYKcmyk(17.5%, 0%, 78.9%, 77.6%)
CIE-LABlab(22.15, -11.84, 25.43)
CIE-LCHlch(22.15, 28.05, 114.97°)
OKLaboklab(32.48% -0.0346 0.0574)
OKLCHoklch(32.48% 0.067 121.1)
XYZxyz(2.7018, 3.5571, 0.8920)
Luminance0.0356 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F390C #160C39
analogous
#392C0C #2F390C #18390C
triadic
#2F390C #0C2F39 #390C2F
tetradic
#2F390C #0C392C #160C39 #390C18
square
#2F390C #0C392C #160C39 #390C18
split-complementary
#2F390C #0C1839 #2C0C39
monochromatic
#151905 #151905 #2F390C #596C17 #829E21

Accessibility & contrast

On white

12.27
#2F390C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2F390C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F390C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F390C#FFFFFF#000000##FFFFFF
##2F390C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3506
Deuteranopia (green-blind)
#3C3510
Tritanopia (blue-blind)
#323630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f390c;
/* rgb */ color: rgb(47, 57, 12);
/* oklch */ color: oklch(32.5% 0.067 121.1);
Tailwind
colors: {
  custom: {
    50: '#696f4e',
    500: '#2f390c',
    950: '#000000',
  },
}
SCSS
$custom: #2f390c;
$custom-light: #696f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f390c",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 73.333,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32482,
    "c": 0.067,
    "h": 121.1
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#2F390C
secondary
#3C2C75
accent
#40E865
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F390C

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

Preview Lab → · Contrast checker → · Palette generator →

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