#2F390A#2F390A

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

Color values

HEX#2F390A
RGBrgb(47, 57, 10)
HSLhsl(73, 70%, 13%)
HSVhsv(73, 82%, 22%)
CMYKcmyk(17.5%, 0%, 82.5%, 77.6%)
CIE-LABlab(22.13, -11.99, 26.27)
CIE-LCHlch(22.13, 28.88, 114.53°)
OKLaboklab(32.46% -0.0352 0.0589)
OKLCHoklch(32.46% 0.069 120.9)
XYZxyz(2.6902, 3.5525, 0.8311)
Luminance0.0355 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F390A #140A39
analogous
#392B0A #2F390A #17390A
triadic
#2F390A #0A2F39 #390A2F
tetradic
#2F390A #0A392B #140A39 #390A17
square
#2F390A #0A392B #140A39 #390A17
split-complementary
#2F390A #0A1739 #2B0A39
monochromatic
#151A05 #151A05 #2F390A #5A6D13 #85A11C

Accessibility & contrast

On white

12.28
#2F390A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F390A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F390A#FFFFFF#000000##FFFFFF
##2F390A1.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f390a;
/* rgb */ color: rgb(47, 57, 10);
/* oklch */ color: oklch(32.5% 0.069 120.9);
Tailwind
colors: {
  custom: {
    50: '#696f4d',
    500: '#2f390a',
    950: '#000000',
  },
}
SCSS
$custom: #2f390a;
$custom-light: #696f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f390a",
  "rgb": {
    "r": 47,
    "g": 57,
    "b": 10
  },
  "hsl": {
    "h": 72.766,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32464,
    "c": 0.06865,
    "h": 120.9
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#2F390A
secondary
#392876
accent
#3BED61
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F390A

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

Preview Lab → · Contrast checker → · Palette generator →

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