#2F360C#2F360C

#2F360C is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.6% C 0.063 H 118.3°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#2F360C
RGBrgb(47, 54, 12)
HSLhsl(70, 64%, 13%)
HSVhsv(70, 78%, 21%)
CMYKcmyk(13%, 0%, 77.8%, 78.8%)
CIE-LABlab(21.09, -10.04, 24.29)
CIE-LCHlch(21.09, 26.29, 112.45°)
OKLaboklab(31.63% -0.0296 0.0551)
OKLCHoklch(31.63% 0.063 118.3)
XYZxyz(2.5579, 3.2692, 0.8440)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F360C #130C36
analogous
#36280C #2F360C #1A360C
triadic
#2F360C #0C2F36 #360C2F
tetradic
#2F360C #0C3628 #130C36 #360C1A
square
#2F360C #0C3628 #130C36 #360C1A
split-complementary
#2F360C #0C1A36 #280C36
monochromatic
#161906 #161906 #2F360C #5B6817 #869A22

Accessibility & contrast

On white

12.70
#2F360C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2F360C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F360C
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F360C#FFFFFF#000000##FFFFFF
##2F360C1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3307
Deuteranopia (green-blind)
#39330F
Tritanopia (blue-blind)
#32332D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f360c;
/* rgb */ color: rgb(47, 54, 12);
/* oklch */ color: oklch(31.6% 0.063 118.3);
Tailwind
colors: {
  custom: {
    50: '#696c4d',
    500: '#2f360c',
    950: '#000000',
  },
}
SCSS
$custom: #2f360c;
$custom-light: #696c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f360c",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 12
  },
  "hsl": {
    "h": 70,
    "s": 63.636,
    "l": 12.941
  },
  "oklch": {
    "l": 0.31631,
    "c": 0.06254,
    "h": 118.3
  },
  "luminance": 0.03269
}

Semantic roles & 50–950 ramp

primary
#2F360C
secondary
#372C72
accent
#41E75D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F360C

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

Preview Lab → · Contrast checker → · Palette generator →

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