#2F3706#2F3706

#2F3706 is a dark, moderate yellow. Relative luminance 0.034; OKLCH L 31.9% C 0.069 H 118.8°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#2F3706
RGBrgb(47, 55, 6)
HSLhsl(70, 80%, 12%)
HSVhsv(70, 89%, 22%)
CMYKcmyk(14.5%, 0%, 89.1%, 78.4%)
CIE-LABlab(21.39, -11.08, 27.11)
CIE-LCHlch(21.39, 29.29, 112.23°)
OKLaboklab(31.86% -0.0332 0.0605)
OKLCHoklch(31.86% 0.069 118.8)
XYZxyz(2.5714, 3.3499, 0.6834)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3706 #0E0637
analogous
#372706 #2F3706 #173706
triadic
#2F3706 #062F37 #37062F
tetradic
#2F3706 #063727 #0E0637 #370617
square
#2F3706 #063727 #0E0637 #370617
split-complementary
#2F3706 #061737 #270637
monochromatic
#181C03 #181C03 #2F3706 #5E6E0C #8DA512

Accessibility & contrast

On white

12.57
#2F3706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2F3706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3706
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3706#FFFFFF#000000##FFFFFF
##2F37061.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3A340A
Tritanopia (blue-blind)
#32332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3706;
/* rgb */ color: rgb(47, 55, 6);
/* oklch */ color: oklch(31.9% 0.069 118.8);
Tailwind
colors: {
  custom: {
    50: '#696d4a',
    500: '#2f3706',
    950: '#000000',
  },
}
SCSS
$custom: #2f3706;
$custom-light: #696d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3706",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 6
  },
  "hsl": {
    "h": 69.796,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31858,
    "c": 0.06902,
    "h": 118.8
  },
  "luminance": 0.0335
}

Semantic roles & 50–950 ramp

primary
#2F3706
secondary
#2F2177
accent
#31F751
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3706

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

Preview Lab → · Contrast checker → · Palette generator →

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