#2F3107#2F3107

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

Color values

HEX#2F3107
RGBrgb(47, 49, 7)
HSLhsl(63, 75%, 11%)
HSVhsv(63, 86%, 19%)
CMYKcmyk(4.1%, 0%, 85.7%, 80.8%)
CIE-LABlab(19.29, -7.32, 24.35)
CIE-LCHlch(19.29, 25.43, 106.72°)
OKLaboklab(30.17% -0.0226 0.0555)
OKLCHoklch(30.17% 0.06 112.2)
XYZxyz(2.3090, 2.8164, 0.6229)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3107 #090731
analogous
#311E07 #2F3107 #1A3107
triadic
#2F3107 #072F31 #31072F
tetradic
#2F3107 #07311E #090731 #31071A
square
#2F3107 #07311E #090731 #31071A
split-complementary
#2F3107 #071A31 #1E0731
monochromatic
#1A1B04 #1A1B04 #2F3107 #62670F #969C16

Accessibility & contrast

On white

13.43
#2F3107 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3107
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3107#FFFFFF#000000##FFFFFF
##2F31071.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E02
Deuteranopia (green-blind)
#362F0A
Tritanopia (blue-blind)
#332D29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2f3107;
/* rgb */ color: rgb(47, 49, 7);
/* oklch */ color: oklch(30.2% 0.060 112.2);
Tailwind
colors: {
  custom: {
    50: '#69684a',
    500: '#2f3107',
    950: '#000000',
  },
}
SCSS
$custom: #2f3107;
$custom-light: #69684a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3107",
  "rgb": {
    "r": 47,
    "g": 49,
    "b": 7
  },
  "hsl": {
    "h": 62.857,
    "s": 75,
    "l": 10.98
  },
  "oklch": {
    "l": 0.30174,
    "c": 0.05994,
    "h": 112.2
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#2F3107
secondary
#272371
accent
#36F23F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2F3107

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

Preview Lab → · Contrast checker → · Palette generator →

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