#2F3106#2F3106

#2F3106 is a dark, moderate yellow. Relative luminance 0.028; OKLCH L 30.2% C 0.061 H 112.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#2F3106
RGBrgb(47, 49, 6)
HSLhsl(63, 78%, 11%)
HSVhsv(63, 88%, 19%)
CMYKcmyk(4.1%, 0%, 87.8%, 80.8%)
CIE-LABlab(19.28, -7.39, 24.75)
CIE-LCHlch(19.28, 25.83, 106.62°)
OKLaboklab(30.16% -0.023 0.0564)
OKLCHoklch(30.16% 0.061 112.2)
XYZxyz(2.3036, 2.8142, 0.5941)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3106 #080631
analogous
#311D06 #2F3106 #193106
triadic
#2F3106 #062F31 #31062F
tetradic
#2F3106 #06311D #080631 #310619
square
#2F3106 #06311D #080631 #310619
split-complementary
#2F3106 #061931 #1D0631
monochromatic
#1A1B03 #1A1B03 #2F3106 #63680D #989E13

Accessibility & contrast

On white

13.44
#2F3106 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#2F3106 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3106
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3106#FFFFFF#000000##FFFFFF
##2F31061.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#362E01
Deuteranopia (green-blind)
#362F09
Tritanopia (blue-blind)
#332D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3106;
/* rgb */ color: rgb(47, 49, 6);
/* oklch */ color: oklch(30.2% 0.061 112.2);
Tailwind
colors: {
  custom: {
    50: '#69684a',
    500: '#2f3106',
    950: '#000000',
  },
}
SCSS
$custom: #2f3106;
$custom-light: #69684a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3106",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 6
  },
  "hsl": {
    "h": 62.791,
    "s": 78.182,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30164,
    "c": 0.06088,
    "h": 112.2
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#2F3106
secondary
#252172
accent
#33F53C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3106

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

Preview Lab → · Contrast checker → · Palette generator →

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