#2F3607#2F3607

#2F3607 is a dark, moderate yellow. Relative luminance 0.033; OKLCH L 31.6% C 0.067 H 117.9°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#2F3607
RGBrgb(47, 54, 7)
HSLhsl(69, 77%, 12%)
HSVhsv(69, 87%, 21%)
CMYKcmyk(13%, 0%, 87%, 78.8%)
CIE-LABlab(21.05, -10.41, 26.33)
CIE-LCHlch(21.05, 28.31, 111.57°)
OKLaboklab(31.58% -0.0312 0.059)
OKLCHoklch(31.58% 0.067 117.9)
XYZxyz(2.5299, 3.2580, 0.6966)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3607 #0E0736
analogous
#362607 #2F3607 #183607
triadic
#2F3607 #072F36 #36072F
tetradic
#2F3607 #073626 #0E0736 #360718
square
#2F3607 #073626 #0E0736 #360718
split-complementary
#2F3607 #071836 #260736
monochromatic
#181B04 #181B04 #2F3607 #5E6C0E #8DA215

Accessibility & contrast

On white

12.71
#2F3607 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3607
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3607#FFFFFF#000000##FFFFFF
##2F36071.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3201
Deuteranopia (green-blind)
#3A330B
Tritanopia (blue-blind)
#32322D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2f3607;
/* rgb */ color: rgb(47, 54, 7);
/* oklch */ color: oklch(31.6% 0.067 117.9);
Tailwind
colors: {
  custom: {
    50: '#696c4b',
    500: '#2f3607',
    950: '#000000',
  },
}
SCSS
$custom: #2f3607;
$custom-light: #696c4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3607",
  "rgb": {
    "r": 47,
    "g": 54,
    "b": 7
  },
  "hsl": {
    "h": 68.936,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31583,
    "c": 0.06678,
    "h": 117.9
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#2F3607
secondary
#2F2376
accent
#34F451
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2F3607

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

Preview Lab → · Contrast checker → · Palette generator →

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