#2F390F#2F390F

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

Color values

HEX#2F390F
RGBrgb(47, 57, 15)
HSLhsl(74, 58%, 14%)
HSVhsv(74, 74%, 22%)
CMYKcmyk(17.5%, 0%, 73.7%, 77.6%)
CIE-LABlab(22.18, -11.59, 23.99)
CIE-LCHlch(22.18, 26.64, 115.79°)
OKLaboklab(32.51% -0.0336 0.0548)
OKLCHoklch(32.51% 0.064 121.5)
XYZxyz(2.7217, 3.5651, 0.9966)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F390F #190F39
analogous
#392E0F #2F390F #1A390F
triadic
#2F390F #0F2F39 #390F2F
tetradic
#2F390F #0F392E #190F39 #390F1A
square
#2F390F #0F392E #190F39 #390F1A
split-complementary
#2F390F #0F1A39 #2E0F39
monochromatic
#141806 #141806 #2F390F #57691C #7F9A29

Accessibility & contrast

On white

12.26
#2F390F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F390F
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F390F#FFFFFF#000000##FFFFFF
##2F390F1.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f390f;
/* rgb */ color: rgb(47, 57, 15);
/* oklch */ color: oklch(32.5% 0.064 121.5);
Tailwind
colors: {
  custom: {
    50: '#696f4f',
    500: '#2f390f',
    950: '#000000',
  },
}
SCSS
$custom: #2f390f;
$custom-light: #696f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f390f",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 15
  },
  "hsl": {
    "h": 74.286,
    "s": 58.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.32514,
    "c": 0.06427,
    "h": 121.5
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#2F390F
secondary
#403073
accent
#46E26B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #2F390F

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

Preview Lab → · Contrast checker → · Palette generator →

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