#2F390B#2F390B

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

Color values

HEX#2F390B
RGBrgb(47, 57, 11)
HSLhsl(73, 68%, 13%)
HSVhsv(73, 81%, 22%)
CMYKcmyk(17.5%, 0%, 80.7%, 77.6%)
CIE-LABlab(22.14, -11.92, 25.86)
CIE-LCHlch(22.14, 28.48, 114.74°)
OKLaboklab(32.47% -0.0349 0.0582)
OKLCHoklch(32.47% 0.068 121)
XYZxyz(2.6959, 3.5548, 0.8607)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F390B #150B39
analogous
#392C0B #2F390B #18390B
triadic
#2F390B #0B2F39 #390B2F
tetradic
#2F390B #0B392C #150B39 #390B18
square
#2F390B #0B392C #150B39 #390B18
split-complementary
#2F390B #0B1839 #2C0B39
monochromatic
#151A05 #151A05 #2F390B #596C15 #84A01F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F390B#FFFFFF#000000##FFFFFF
##2F390B1.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)
#3D3505
Deuteranopia (green-blind)
#3C350F
Tritanopia (blue-blind)
#323630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2f390b;
/* rgb */ color: rgb(47, 57, 11);
/* oklch */ color: oklch(32.5% 0.068 121.0);
Tailwind
colors: {
  custom: {
    50: '#696f4d',
    500: '#2f390b',
    950: '#000000',
  },
}
SCSS
$custom: #2f390b;
$custom-light: #696f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f390b",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 11
  },
  "hsl": {
    "h": 73.043,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32473,
    "c": 0.06784,
    "h": 121
  },
  "luminance": 0.03555
}

Semantic roles & 50–950 ramp

primary
#2F390B
secondary
#3B2A76
accent
#3DEB63
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F390B

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

Preview Lab → · Contrast checker → · Palette generator →

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